@extends('layouts.location') @section('title', 'Sales Order Items') @section('page-title', 'Sales Order Items') @section('breadcrumb')
| SO No | Uploaded Date | Picking Completed | Packing Completed | Booking Completed | Dispatch Completed | Delivery Completed | Documents | Actions | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row->so_no }} | {{ $row->uploaded_at ? \Carbon\Carbon::parse($row->uploaded_at)->format('M d, Y') : '' }} | {{ $pipeline && $pipeline->picking_date_complete ? \Carbon\Carbon::parse($pipeline->picking_date_complete)->format('Y-m-d H:i') : '' }} | {{ $pipeline && $pipeline->packing_date_complete ? \Carbon\Carbon::parse($pipeline->packing_date_complete)->format('Y-m-d H:i') : '' }} | {{ $pipeline && $pipeline->booking_date_complete ? \Carbon\Carbon::parse($pipeline->booking_date_complete)->format('Y-m-d H:i') : '' }} | {{ $pipeline && $pipeline->dispatch_date ? \Carbon\Carbon::parse($pipeline->dispatch_date)->format('Y-m-d H:i') : '' }} | {{ $pipeline && $pipeline->delivery_date ? \Carbon\Carbon::parse($pipeline->delivery_date)->format('Y-m-d H:i') : '' }} |
@php $docs = $documentsBySo[$row->so_no] ?? null; @endphp
@if($docs)
@if(!empty($docs['lr']))
LR
@endif
@if(!empty($docs['packing']))
Packing
@endif
@if(!empty($docs['invoice']))
Invoice
@endif
@else
-
@endif
|
||||||||||||||||||||||||
Sales Order Items@if(($salesOrdersBySo[$row->so_no] ?? collect())->count())
No sales order items found.
@endif
Picking Details{{-- Original picking details from so_packing (unchanged logic) --}} @if(($pickingsBySo[$row->so_no] ?? collect())->count())
|
|||||||||||||||||||||||||||||||