@extends('layouts.structure') @section('content')

Plan List

@if (session('success')) @endif @if (session('error')) @endif + Create New Plan
@if ($plans->isEmpty()) @else
@foreach ($plans as $index => $plan) @endforeach
Sr No. Client Name CRR No. Grade Total Used Weight (TON) CRS Balance Weight (TON) CTL Balance Weight (TON) Status Actions
{{ $index + 1 }} {{ $plan->client->client_name ?? 'N/A' }} {{ $plan->coil->crr_no ?? 'N/A' }} {{ $plan->grade->grade_name ?? 'N/A' }} {{ number_format($plan->total_used_weight, 3) }} {{ number_format($plan->total_crs_bal_weight, 3) }} {{ number_format($plan->total_ctl_bal_weight, 3) }} {{ ucfirst($plan->status) }}
View @can('edit-plan') @if(ucfirst($plan->status)=="Pending") Edit @endcan
@csrf @method('DELETE')
@endif @if($plan->crs_bal_weight>0) @endif
@endif
@endsection