| No | Country Name | Invoice Number | Hotel Name | Total Price | Payment Amount |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $reservation->country_name ?? '-' }} | {{ $reservation->invoice_number ?? '-' }} | {{ $reservation->hotel_name }} | {{ $reservation->total_price ?? '-' }} | {{ number_format($reservation->total_price ?? $reservation->payment_amount ?? 0, 0, '.', ',') }} |
| Total: | {{ $reservations->sum('total_price') }} | {{ number_format($reservations->sum(function($r) { return $r->total_price ?? $r->payment_amount ?? 0; }), 0, '.', ',') }} | |||