{{-- INVOICE INFO TABLE --}}
| Invoice #: {{ $invoice->invoice_no ?? 'N/A' }} |
Amount: {{ $invoice->amount }} BDT |
| Transaction ID: {{ $invoice->payment->transaction_id ?? 'N/A' }} |
| Date: {{ $invoice->created_at->format('d M Y h:i A') }} |
@if($paymentMethod)
Payment Method: {{ $paymentMethod }}
@endif
|
| Name: {{ $invoice->user_name }} |
| Phone: {{ $invoice->phone }} |
| Email: {{ $invoice->email }} |
|
Faculty:
{{ $event_reservations[0]->user->personalInformation->faculty->name ?? 'N/A' }}
|
{{-- PARTICIPATION DETAILS --}}
{{ $invoice->user_name }}'s additional payment details
@foreach($event_reservations as $reservation)
{{ $reservation->eventReservation->event->name ?? 'N/A' }}
{{ $reservation->eventReservation->eventDate->start_date_time->format('d M Y h:i A') }}
–
{{ $reservation->eventReservation->eventDate->end_date_time->format('d M Y h:i A') }}
| Participant Type |
Count |
| Spouse | {{ $reservation->spouse }} |
| Children (below 5) | {{ $reservation->children_below_5 }} |
| Children (5–12) | {{ $reservation->children_5_to_12 }} |
| Children (above 12) | {{ $reservation->children_above_12 }} |
| Driver | {{ $reservation->driver }} |
| Maid | {{ $reservation->maid }} |
| Other Guest | {{ $reservation->other_guest }} |
| Total Participant |
{{
$reservation->spouse +
$reservation->children_below_5 +
$reservation->children_5_to_12 +
$reservation->children_above_12 +
$reservation->driver +
$reservation->maid +
$reservation->other_guest
}}
|
@endforeach