@extends('layouts.location') @section('title', 'Dispatch Dashboard') @section('page-title', 'Dispatch Dashboard') @push('styles') @endpush @section('content') @php $activeTab = request()->query('tab', 'lr'); @endphp
Monthly Packing Activity
Month: {{ $selectedMonth ?? date('Y-m') }}
Data from `so_packing` for this location: Packings (records), Boxes (sum of box array length), Items Qty (sum of item qty) per day.
Monthly Order Pipeline
Month: {{ $selectedMonth ?? date('Y-m') }}
SO counts by event day from `order_pipeline` for this location: Picking Started/Completed, Packing Started/Completed, Booking Completed, Dispatched, Delivered.
@php $activeTab = request()->query('tab', 'lr'); @endphp
LR Upload (Dispatch)
Link LR and AWB with PIC ID and notify customer via WhatsApp.
@forelse(($lrPicIds ?? []) as $pid) @php $picVal = is_array($pid) ? ($pid['pic_id'] ?? '') : $pid; $picLabel = is_array($pid) ? ($pid['label'] ?? $picVal) : $pid; @endphp @empty @endforelse
Image / PDF / DOC.
Short Picklist (Hold Items)
Items from so_picklist with status = 'hold', grouped by PIC ID.
@php $shortGroups = collect($shortPicklist ?? [])->groupBy('pic_id'); @endphp @if($shortGroups->isEmpty())
No short picklist items in hold status.
@else
@foreach($shortGroups as $picId => $rows) @php $soList = $rows->pluck('sales_order_number')->unique()->implode(', '); $itemCount = $rows->count(); @endphp @foreach($rows as $r) @endforeach @endforeach
PIC ID Sales Orders Items (Count) Bulk Actions
{{ $picId }} {{ $soList }} {{ $itemCount }}
SO: {{ $r->sales_order_number }}
SKU: {{ $r->sku }} | Rack: {{ $r->rack }}
Picked: {{ $r->picked_qty }} | Pick Qty: {{ $r->pick_qty ?? 0 }}
Status: {{ $r->status }}
@endif
@endsection @push('scripts') @endpush