@extends('layouts.app') @section('page-title', 'Dashboard') @section('header-actions')
@endsection @section('content')

Total Bookings

{{ number_format($totalBookings) }}

Total Revenue

Rs. {{ number_format($totalIncome) }}

Outstanding Due

Rs. {{ number_format($totalDue) }}

Total Weight

{{ number_format($totalWeight, 2) }} kg

Shipment Status

Pending
{{ $pendingShipments }}
In Transit
{{ $inTransitShipments }}
Delivered
{{ $deliveredShipments }}
Damaged
{{ $damagedShipments }}

Recent Bookings

View All
@forelse($recentBookings as $booking) @empty @endforelse
CNTR Customer Date Status Amount
{{ $booking->cntr_no }} {{ $booking->customer->name ?? 'N/A' }} {{ $booking->booking_date->format('M d') }} {{ $booking->status }} {{ number_format($booking->total_amount) }}
No recent bookings found.
@endsection