{{ __('Financial Analytics') }}

Daily, weekly, monthly, driver, and owner-level reporting based on the stored rate snapshot for each load.

@php $truckWithLoadsCount = count($profitByTruck ?? []); $avgProfitPerTruck = $truckWithLoadsCount > 0 ? (($totals['total_profit'] ?? 0) / $truckWithLoadsCount) : 0; @endphp
Total Revenue
${{ number_format($totals['total_revenue'] ?? 0, 2) }}
Overall Profit
${{ number_format($totals['total_profit'] ?? 0, 2) }}
Daily Profit
${{ number_format($totals['daily_profit'] ?? 0, 2) }}
Weekly Profit
${{ number_format($totals['weekly_profit'] ?? 0, 2) }}
Monthly Profit
${{ number_format($totals['monthly_profit'] ?? 0, 2) }}
Loads / Miles
{{ $totals['total_loads'] ?? 0 }}

{{ number_format($totals['total_miles'] ?? 0, 2) }} total miles

Profit per Truck

Owner-level visibility into truck contribution, mileage, and average profit.

@forelse($profitByTruck as $item) @empty @endforelse
Truck Loads Miles Profit
{{ $item['truck'] }} {{ $item['count'] }} {{ number_format($item['miles'], 2) }} ${{ number_format($item['profit'], 2) }}
No truck data available yet.
Average profit per truck: ${{ number_format($avgProfitPerTruck, 2) }}

Profit per Driver

Driver-level daily, weekly, monthly profit/loss and total mileage.

@forelse($profitByDriver as $item) @empty @endforelse
Driver Loads Miles Daily Weekly Monthly Total Profit
{{ $item['driver'] }} {{ $item['count'] }} {{ number_format($item['miles'], 2) }} ${{ number_format($item['daily_profit'], 2) }} ${{ number_format($item['weekly_profit'], 2) }} ${{ number_format($item['monthly_profit'], 2) }} ${{ number_format($item['profit'], 2) }}
No driver analytics available yet.