| Invoice #: {{ $invoice->invoice_no ?? 'N/A' }} |
Amount: {{ $invoice->amount }} BDT |
| Transaction ID: {{ $invoice->payment->transaction_id ?? 'N/A' }} |
@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))
|
Date:
{{ $invoice->created_at->format('d M Y h:i A') }}
|
Payment Method:
{{ $paymentMethod }}
|
@else
Date:
{{ $invoice->created_at->format('d M Y h:i A') }}
|
@endif
| Name: {{ $invoice->user_name }} |
| Phone: {{ $invoice->phone }} |
| Email: {{ $invoice->email }} |
|
Faculty:
{{ $event_reservations[0]->user->personalInformation->faculty->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') }}