@extends('layouts.app') @section('title', 'Fuel Monitoring') @section('content')

Fuel monitoring

Consumption, idling, refuelling patterns and theft-anomaly alerts.
@include('transport._nav')

Refuelling entries

Idling {{ num($totals['idling']) }} minutes in the selected period
{{ $rows->count() }} entries
@forelse($rows as $row) @empty @endforelse
DateVehicleDriverLitresAmount Price/LDistanceL/100km IdlingAnalysisActions
{{ $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 }}
@csrf @method('DELETE')

Refuelling patterns

Fill frequency, average volumes and anomaly counts per vehicle
@forelse($patterns as $pattern) @empty @endforelse
VehicleFillsAvg litresAvg intervalAvg km/fillL/100kmIdlingFlags
{{ $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 }}
@csrf
@endsection