@extends('layouts.app') @section('title', 'Invoice Details') @section('content') @php $rateVal = $currentCurrencyRate?->rate ?? 0; @endphp
{{ $booking->invoice_id ?? 'N/A' }}
{{ $booking->created_at->format('Y-m-d') }}
{{ $booking->customer->name ?? 'N/A' }}
@currency($originalTotal, 2, $rateVal)
−@currency($booking->discount_amount ?? 0, 2, $rateVal) discount @if($booking->discount_type?->value === 'percentage') ({{ rtrim(rtrim(number_format((float) $booking->discount_value, 2), '0'), '.') }}%) @endif
@currency($booking->invoice?->total_amount ?? 0, 2, $rateVal)
@currency($booking->invoice?->paid_amount ?? 0, 2, $rateVal)
@currency($booking->invoice?->balance ?? 0, 2, $rateVal)
No passengers found.
@endforelseMax 5 MB per file, 20 MB total
No customer documents
@endforelseNo passenger documents
@endforelse| Date | Voucher No | Method | Trx ID | Receive By | Receive At | Amount | Actions |
|---|---|---|---|---|---|---|---|
| {{ $payment->created_at->format('Y-m-d') }} | {{ $payment->vouchers->first()?->voucher_id ?? 'N/A' }} | {{ $payment->payment_method?->value ?? 'Cash' }} | {{ $payment->transaction_id ?? '-' }} | {{ $payment->user?->name ?? '-' }} | {{ $payment->user?->branch?->name ?? 'Central' }} | @currency($payment->amount, 2, $rateVal) | @if(auth()->user()->hasRole('Super Admin')) @endif |
| No payments recorded | |||||||
1 SAR = BDT
Exchange rate not available. Cannot process BDT payment.
Select passengers and enter dates
Select passengers for refund
Select passengers and enter dates