{{ __('Trip Payment') }}

← Back to Trips
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Trip Summary

{{ $trip->location }}

{{ $trip->vehicle->vehicle_number ?? 'N/A' }} • {{ $trip->date->format('d M Y') }}

Total Rent

₹{{ number_format($trip->rent_amount, 2) }}

Total Paid

₹{{ number_format($totalPaid, 2) }}

Balance

₹{{ number_format(abs($balance), 2) }}

@if($balance > 0)

Record New Payment

@csrf
@else

Trip Fully Paid

No pending balance remains for this trip.

@endif @if($payments->count() > 0)

Payment History

@foreach($payments as $payment)

₹{{ number_format($payment->paid + $payment->advance, 2) }}

{{ $payment->created_at->format('d M Y, h:i A') }}

{{ $payment->method ?? 'Cash' }}
@endforeach
@endif