@extends('admin.layouts.app') @section('title', 'Customer Delivery Status') @push('styles') @endpush @section('content')

Customer Delivery Status

View delivery boxes, manage hold dates, and track customer delivery progress

@foreach ($rows as $row) @php $customer = $row->customer; @endphp @endforeach
Customer Name Phone Package Start Date End Date Extended To Hold Days Total Delivered Today Status Actions
{{ $customer->Fname }} {{ $customer->Lname }} {{ $customer->Phone }} {{ $customer->package->Name ?? '' }}@if (! $customer->package)N/A@endif {{ $customer->PkgDate ? $customer->PkgDate->format('d-m-Y') : '-' }} {{ $customer->Validity ? $customer->Validity->format('d-m-Y') : '-' }} @if ($row->extended_date) {{ \Carbon\Carbon::parse($row->extended_date)->format('d-m-Y') }} @else - @endif @if ($row->hold_count > 0) {{ $row->hold_count }} days @else 0 @endif {{ $row->delivered_count }} @if ($row->is_today_delivered) Delivered @else Pending @endif
@endsection @push('scripts') @endpush