{{ __('Edit Payment') }}

@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- Trip Info (Read Only) --}}

Trip Details

{{ $payment->trip->location }}

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

Rent Amount

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

{{-- Current Status Badge --}}
Current: {{ $payment->status }}
@csrf @method('PUT')
{{-- Advance & Paid --}}
{{-- Live Balance Calculation --}}

Rent

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

Total Paid

Balance

⏳ Status will be set to Partial ✅ Status will be set to Completed

{{-- Payment Method --}}
{{-- Save --}}