Report Date: {{ $reportDate }}
Generated: {{ now()->format('d F Y H:i') }}
| Fuel Station | Opening Stock (L) | Purchases (L) | Consumption (L) | Closing Stock (L) | Total Cost (KES) |
|---|---|---|---|---|---|
| {{ $station['station_name'] }} | {{ number_format($station['opening_stock'], 2) }} | {{ number_format($station['purchases'], 2) }} | {{ number_format($station['consumption'], 2) }} | {{ number_format($station['closing_stock'], 2) }} | {{ number_format($station['total_cost'], 2) }} |
| TOTAL | {{ number_format(collect($reportData)->sum('opening_stock'), 2) }} | {{ number_format(collect($reportData)->sum('purchases'), 2) }} | {{ number_format(collect($reportData)->sum('consumption'), 2) }} | {{ number_format(collect($reportData)->sum('closing_stock'), 2) }} | {{ number_format(collect($reportData)->sum('total_cost'), 2) }} |
| Time | Vehicle | Driver | Quantity (L) | Odometer | Cost (KES) | Notes |
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($transaction['transaction_date'])->format('H:i') }} | {{ $transaction['vehicle_registration'] }} | {{ $transaction['driver_name'] }} | {{ number_format($transaction['quantity_liters'], 2) }} | {{ number_format($transaction['odometer_reading'], 2) }} | {{ number_format($transaction['calculated_cost'], 2) }} | {{ $transaction['notes'] ?? '-' }} |
No transactions recorded for this station on this date.
@endif