{{ __('Transaction Details') }}
{{-- Transaction Header --}}
{{-- Booking & Event Info --}}
{{ __('Transaction Amount') }}
${{ number_format($order->total ?? 0, 2) }}{{ __('ID') }} {{ $transaction->uuid ?? 'TR-' . $transaction->id }}
@php $statusClass = match (strtolower($transaction->status)) { 'completed', 'successful', 'paid' => 'successful', 'failed', 'refunded', 'partially refunded', 'cancelled' => 'failed', 'pending' => 'pending', default => '', }; @endphp {{ __(ucfirst($transaction->status)) }}
{{-- Booking Details --}}
{{-- Event Details --}}
{{-- Attendee Details --}}
{{-- Payment Summary --}}
{{ __('Booking Details') }}
{{ __('Booking ID') }} {{ $order->id }}
{{ $order->event->title ?? '-' }}
-
{{ optional($order->event->start_date)->format('d M, Y') ?? '-' }} {{ optional($order->event->end_date)->format('d M, Y') ?? '-' }}
-
{{ $order->event->location ?? '-' }} {{ $order->event->address ?? '-' }}
{{ __('Attendee Details') }}
@if ($order->event->provider->phone)
{{ $order->event->provider->phone }}
@endif
@if ($order->event->provider->email)
{{ $order->event->provider->email }}
@endif
{{ $order->payment_method }} ---- ---- ---- {{ substr($order->card_number, -4) }}
{{ __('Payment Summary') }}
{{ __('Invoice') }}
@foreach ($tickets as $ticket)
{{ $ticket['ticket_type_title'] }}
${{ number_format($ticket['price'], 2) }} x {{ $ticket['quantity'] }}
@endforeach
{{ __('Subtotal') }}
${{ number_format($order->sub_total, 2) }}
{{ __('Fee') }}
${{ number_format($order->fees ?? 0, 2) }}
{{ __('Total Amount') }}
${{ number_format($order->total ?? 0, 2) }}