@if(auth()->user()->user_type == \App\Models\UserManagement\User::ADMIN_USER_CODE) ← Back @else @if(session('is_draft') == 1) ← Back @else ← Back @endif @endif
Logo
@php $successResponse = is_string($invoice->payment->success_response ?? null) ? json_decode($invoice->payment->success_response, true) : $invoice->payment->success_response ?? []; $paymentMethod = $successResponse['payment_method'] ?? null; @endphp @if (!empty($paymentMethod)) @else @endif
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') }} Payment Method: {{ $paymentMethod }} Date: {{ $invoice->created_at->format('d M Y h:i A') }}
Name: {{ $invoice->user_name }}
Phone: {{ $invoice->phone }}
Email: {{ $invoice->email }}
Faculty: {{ $event_reservations[0]->user->personalInformation->faculty->name ?? 'N/A' }}

{{ $invoice->user_name }}'s payment details

@foreach($event_reservations as $reservation)
{{ $reservation->event->name ?? 'N/A' }}

{{ $reservation->eventDate->start_date_time->format('d M Y h:i A') }} - {{ $reservation->eventDate->end_date_time->format('d M Y h:i A') }}

Participant Type Count
Alumni {{ $reservation->alumni }}
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->alumni + $reservation->spouse + $reservation->children_below_5 + $reservation->children_5_to_12 + $reservation->children_above_12 + $reservation->driver + $reservation->maid + $reservation->other_guest }}
@endforeach