@extends('layouts.app') @section('title', 'Fuel Monitoring') @section('content')
| Date | Vehicle | Driver | Litres | Amount | Price/L | Distance | L/100km | Idling | Analysis | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row->date->format('d M Y') }} | {{ $row->vehicle?->reg_no ?: '—' }} | {{ $row->driver?->full_name ?: 'Not recorded' }} | {{ num($row->litres, 2) }} | {{ money($row->amount) }} | {{ $row->price ? money($row->price) : '—' }} | {{ $row->distance ? num($row->distance) . ' km' : '—' }} | {{ $row->consumption !== null ? num($row->consumption, 1) : '—' }} | {{ $row->idling_minutes ? num($row->idling_minutes) . ' min' : '—' }} | {{ $row->flag_label }} | |
| Vehicle | Fills | Avg litres | Avg interval | Avg km/fill | L/100km | Idling | Flags |
|---|---|---|---|---|---|---|---|
| {{ $pattern->vehicle->reg_no }} | {{ $pattern->fills }} | {{ num($pattern->avg_litres, 1) }} | {{ $pattern->avg_days !== null ? num($pattern->avg_days, 1) . ' days' : '—' }} | {{ $pattern->avg_km !== null ? num($pattern->avg_km) . ' km' : '—' }} | {{ num($pattern->consumption, 1) }} | {{ num($pattern->idling) }} min | {{ $pattern->flags }} |