Job List

@if (session('message'))
× {{ session('message') }}.
@endif
@forelse ($jobs as $job) @empty @endforelse
Job No Buyer Style PO Number Item Order Qty Sewing Balance Shipped Qty Receive Date Delivery Date Action
{{ $job->buyer }} {{ $job->style }} {{ $job->po }} {{ $job->item }} {{ $job->order_quantity }} @php $sewing_qty = DB::table('sewing_balances') ->where('job_no', $job->job_no) ->get() ->sum('sewing_balance'); $total_sewing_qty = $job->order_quantity - $sewing_qty ?? 0; @endphp @php $total_shipped_qty = DB::table('shipments') ->where('job_no', $job->job_no) ->get() ->sum('shipped_qty'); @endphp {{ $job->order_received_date }} {{ $job->delivery_date }} @if (auth()->user()->role_id == 1)
@csrf @method('POST')
@csrf @method('POST')
@endif
No Job Found