{{ __('Trips') }}

Add Trip
@if(session('success')) @endif
Clear
@forelse($trips as $trip) @empty @endforelse
Date Vehicle & Driver Location & Type Financials Actions
{{ $trip->date ? $trip->date->format('d M Y') : 'N/A' }}
{{ $trip->vehicle->vehicle_number ?? 'N/A' }}
{{ $trip->driver->driver_name ?? 'N/A' }}
{{ $trip->location }}
{{ $trip->trip_type }} {{ $trip->total_km }} km {{ $trip->total_hour }} hrs
@if($trip->work)
Work: {{ $trip->work }}
@endif @if($trip->maintenance_note || $trip->loan_note)
@if($trip->maintenance_note)

🛠️ {{ $trip->maintenance_note }}

@endif @if($trip->loan_note)

💰 {{ $trip->loan_note }}

@endif
@endif
Total Amount: ₹{{ number_format($trip->total_amount, 2) }} Fuel: ₹{{ number_format($trip->fuel_cost, 2) }} Profit: ₹{{ number_format($trip->profit, 2) }}
Edit Pay
@csrf @method('DELETE')
No trips found matching the criteria.
{{ $trips->links() }}