DEPLETION JOB DETAILS

Job Number: {{ $job->job_no }} | Date: {{ $job->created_at->format('d M, Y') }}

Summary Information
Status:
{{ ucfirst($job->status) }}
Shipment:
{{ strtolower($job->shipment_status) === 'received' ? 'Received to Distribution Point' : str_replace('_', ' ', ucfirst($job->shipment_status)) }}
QR Status:
{{ $job->qr_status }}
Created By:
{{ $job->user->name ?? 'System' }}
Outlet & Product Breakdown
@php $grandTotal = 0; @endphp @foreach($job->details as $detail) @foreach($detail->products as $p) @php $grandTotal += $p->qty; @endphp @endforeach @endforeach
Outlet RT Code Dist. Point / Warehouse Products Planned Qty
{{ $detail->outlet }} {{ $detail->rt_code }} {{ $p->distributionCenter->name ?? 'N/A' }} {{ $p->product->name ?? 'N/A' }} {{ number_format($p->qty, 0) }}
GRAND TOTAL: {{ number_format($grandTotal, 0) }}
This document is an internal depletion job detail report generated by the POSM Management System.
Generated on: {{ now()->format('d M Y H:i:s') }}