@extends('layouts.app') @section('title', 'Customer Invoices Report') @section('page-title', 'Customer Invoices Report') @section('content')
Period: {{ \Carbon\Carbon::parse($startDate)->format('d M Y') }} - {{ \Carbon\Carbon::parse($endDate)->format('d M Y') }}
| Date | CNTR No | Receiver | Description | Total | Paid | Due | Actions |
|---|---|---|---|---|---|---|---|
| {{ $booking->booking_date->format('d M, Y') }} | {{ $booking->cntr_no }} | {{ $booking->receiver_name }} | {{ Str::limit($booking->cargo_description, 20) }} | {{ number_format($booking->total_amount, 2) }} | {{ number_format($booking->advance_payment, 2) }} | {{ number_format($booking->due_payment, 2) }} | |
| No invoices found for this period. | |||||||
| Total: | {{ number_format($bookings->sum('total_amount'), 2) }} | {{ number_format($bookings->sum('advance_payment'), 2) }} | {{ number_format($bookings->sum('due_payment'), 2) }} | ||||