{{ __('Booking Details') }}
{{ __('Booking Amount') }}
{{ $ticketCurrency }}{{ number_format($order->total, 2) }}{{ __('ID') }} {{ $order->id }}
{{ __($order->payment_status) }}
{{ __($order->order_status) }}
{{ $order->event->title ?? __('Event Name') }}
- {{ $order->event->type ?? __('Event Type') }} {{ $order->event->category ?? __('Event Category') }}
-
{{ optional($order->event)->start_date?->format('d M, Y') ?? __('Start Date') }} {{ optional($order->event)->end_date?->format('d M, Y') ?? __('End Date') }}
-
{{ $order->event->location ?? __('Location') }} {{ $order->event->address ?? __('Address details goes here') }}
{{ __('Attendee Details') }}
{{ __('Questions & Answers') }}
-
@forelse ($order->answers as $index => $answer)
@php
$answerData = json_decode($answer->answer, true);
@endphp
-
{{-- Question number --}}
{{ __('Question #') }}{{ $index + 1 }}{{-- Question --}}{{-- Answer --}}{{ __('Question') }}{{ $answer->question?->question ?? '-' }}{{ __('Answer') }}@if (isset($answerData['text'])) {{ $answerData['text'] }} @else - @endif
@empty
- {{ __('No questions answered for this booking.') }} @endforelse
{{ __('Tickets Details') }}
-
@foreach ($tickets as $ticket)
-
{{ __('Ticket Type') }} {{ $ticket['ticket_type_title'] }}{{ __('Count') }} {{ $ticket['quantity'] }}{{ __('Amount') }} {{ $ticketCurrency }}{{ number_format($ticket['line_total'], 2) }}
@endforeach
{{ __('Payment Summary') }}
{{-- Invoice
@foreach ($tickets as $ticket)
{{ $ticket['ticket_type_title'] }}
{{ $ticket['quantity'] }} ×
{{ $ticketCurrency }}{{ number_format($ticket['price'], 2) }}
@endforeach
{{ __('Subtotal') }}{{ $ticketCurrency }}{{ number_format($order->sub_total, 2) }}
{{ __('Fees') }}{{ $ticketCurrency }}{{ number_format($order->fees, 2) }}
{{ __('Tax') }}{{ $ticketCurrency }}{{ number_format($order->tax, 2) }}
{{ __('Discount') }}{{ $ticketCurrency }}{{ number_format($order->discount, 2) }}
{{ __('Total Amount') }}{{ $ticketCurrency }}{{ number_format($order->total, 2) }}