@extends('master') @section('title', 'Shipments') @section('content')
Shipment Records
@php $totalPrice = $bookings->sum('price'); $totalWeight = $bookings->sum('weight'); @endphp @foreach ($bookings as $shipment) @endforeach
{{ $agent_name }} TS EXPRESS & CARGO
TOTAL SHIPMENT SHIPMENT BILL COMPANY PAIDE
SI NO DATE TRACKING NO SENDER NAME RECEIVER NAME DESCRIPTION DEST SERVICE WT TAKA COMPANY BILL NAME Collection DATE
{{ $loop->iteration }} {{ $shipment->date }} {{ $shipment->booking_no}} {{ $shipment->shipper }} {{ $shipment->consignee }} {{ $shipment->description_of_goods }} {{ $shipment->destination }} DHL {{ $shipment->weight }} {{ $shipment->price }} {{ $shipment->price }} {{ $agent_name }} {{ App\Models\Collection::where('tracking_id', $shipment->booking_no)->first()->payment_date ?? 'N/A' }}
TOTAL {{ $totalWeight }} {{ $totalPrice }} {{ $totalPrice }}
@endsection