{{ __('Fuel Entries') }}

Add Fuel
@if(session('success')) @endif
@foreach($fuelEntries as $entry)
{{ $entry->created_at->format('d M Y, h:i A') }}

{{ $entry->vehicle->vehicle_number ?? 'Unknown' }}

₹{{ number_format($entry->total, 2) }}

Litre: {{ $entry->litre }} L

Price/L: ₹{{ number_format($entry->price, 2) }}

@if($entry->trip)

Trip: {{ $entry->trip->location }} ({{ $entry->trip->date->format('d/m/y') }})

@endif
✏️ Edit
@csrf @method('DELETE')
@endforeach
{{ $fuelEntries->links() }}