Job No: {{ $depletion_job->job_no }} | Date: {{ $depletion_job->created_at->format('d M, Y') }}
|
Job Number: {{ $depletion_job->job_no }} Created By: {{ $depletion_job->user->name ?? 'System' }} Date: {{ $depletion_job->created_at->format('d M Y, H:i') }} |
Plan Status: {{ ucfirst($depletion_job->status) }} QR Status: {{ $depletion_job->qr_status }} Shipment Status: {{ strtolower($depletion_job->shipment_status) === 'received' ? 'Received to Distribution Point' : str_replace('_', ' ', ucfirst($depletion_job->shipment_status)) }} |
| Outlet / RT Code | Dist. Point | Market | Products & Quantities |
|---|---|---|---|
|
{{ $detail->outlet }} {{ $detail->rt_code }} |
@php $firstProduct = $detail->products->first(); $distPoint = $firstProduct && $firstProduct->distributionCenter ? $firstProduct->distributionCenter->name : 'Not Assigned'; @endphp {{ $distPoint }} | {{ $detail->market ?? 'N/A' }} |
@foreach($detail->products as $p)
{{ $p->product->name ?? 'N/A' }}:
{{ number_format($p->qty, 0) }}
@endforeach
|