Total Users
{{ number_format($cards['total_users']) }}
@extends('layouts.dashboard') @section('page_title', 'Dashboard') @php $statusBadgeClass = function (string $code): string { return match ($code) { 'pending' => 'hs-pending', 'open' => 'hs-open', 'covered' => 'hs-covered', 'dispatched' => 'hs-dispatched', 'on_route' => 'hs-route', 'delivered' => 'hs-delivered', 'in_yard' => 'hs-yard', 'unloading' => 'hs-unloading', 'completed' => 'hs-completed', default => 'hs-open', }; }; @endphp @push('styles') @endpush @section('content') @php $cards = $dashboard['summary_cards']; @endphp
Total Users
{{ number_format($cards['total_users']) }}
Total Roles
{{ number_format($cards['total_roles']) }}
Total Drivers
{{ number_format($cards['total_drivers']) }}
Total Loads
{{ number_format($cards['total_loads']) }}
Total Pending Loads
{{ number_format($cards['total_pending']) }}
| Load# | Customer | Origin → Destination | Ship Date | Status | Driver |
|---|---|---|---|---|---|
| {{ $load['load_number'] }} | {{ $load['customer'] }} | {{ $load['route'] }} | {{ $load['ship_date'] }} | {{ $load['status'] }} | {{ $load['driver'] }} |
| No loads found for the selected filters. | |||||