Tracking Id: {{ $courier_summary->tracking_id }}
Courier Status: {{ $courier_summary->courier_status }}
Courier Details
Item Sender Info Receiver Info
Branch Name {{ App\Models\Branch::find($courier_summary->sender_branch_id)->branch_name }} {{ App\Models\Branch::find($courier_summary->receiver_branch_id)->branch_name }}
Sender Agent {{ App\Models\User::find($courier_summary->sender_agent_id)->name }} {{ ($courier_summary->delivery_agent_id) ? App\Models\User::find($courier_summary->delivery_agent_id)->name : "N/A" }}
Date {{ $courier_summary->created_at->format('D d-M,Y h:m:s A') }} {{ ($courier_summary->delivery_agent_id) ? $courier_summary->updated_at->format('D d-M,Y h:m:s A') : "N/A" }}
Customer Details
Item Sender Info Receiver Info
Name {{ $courier_summary->sender_name }} {{ $courier_summary->receiver_name }}
Phone Email {{ ($courier_summary->sender_email) ? $courier_summary->sender_email : "N/A" }} {{ ($courier_summary->receiver_email) ? $courier_summary->receiver_email : "N/A" }}
Phone Number {{ $courier_summary->sender_phone_number }} {{ $courier_summary->receiver_phone_number }}
Address {{ $courier_summary->sender_address }} {{ $courier_summary->receiver_address}}
Special Comment {{ $courier_summary->special_comment}}
Payment Details
Grand Total {{ $courier_summary->grand_total }}
Payment Type {{ $courier_summary->payment_type }}
Payment Status {{ $courier_summary->payment_status}}
Payment Amount {{ $courier_summary->payment_amount}}
Item Details
@foreach ($courier_details as $item) @endforeach
Description Unit Quantity Cost Total Cost
{{ $item->item_description }} {{ $item->unit_id }} {{ $item->item_quantity }} {{ $item->cost_rate }} {{ $item->total_cost_rate }}