@php $isDispatchView = request()->routeIs('dispatch.performance_report*'); $layout = $isDispatchView ? 'layouts.location' : 'layouts.superadmin'; $baseRoute = $isDispatchView ? 'dispatch.performance_report' : 'superadmin.reports.performance_report'; $exportRoute = $isDispatchView ? 'dispatch.performance_report.export' : 'superadmin.reports.performance_report.export'; @endphp @extends($layout) @section('title', 'Performance Report') @section('page-title', 'Performance Report') @section('content')
| # | PIC ID | SO Number | Customer Name | Upload Date & Time | Picklist Run D&T | Picking Start | Pick Completion | Pack Start | Pack Completion | SO Sent for Conversion | SO Converted to Invoice | Transporter Finalisation | Dispatch Date | Delivery Date |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $idx + 1 }} | {{ $row['pic_id'] ?? '-' }} | {{ $row['so_no'] ?? '-' }} | {{ $row['customer_name'] ?? '-' }} | {{ $row['upload_date_time'] ?? '-' }} | {{ $row['picklist_run_dt'] ?? '-' }} | {{ $row['picking_start'] ?? '-' }} | {{ $row['picking_complete'] ?? '-' }} | {{ $row['packing_start'] ?? '-' }} | {{ $row['packing_complete'] ?? '-' }} | {{ $row['so_sent_for_conversion'] ?? '-' }} | {{ $row['so_converted_to_invoice'] ?? '-' }} | {{ $row['booking_complete'] ?? '-' }} | {{ $row['dispatch_date'] ?? '-' }} | {{ $row['delivery_date'] ?? '-' }} |
| No performance data found | ||||||||||||||