ShowPrima
RECEIPT
{{ $event->name }}
{{ \Carbon\Carbon::parse($event->event_date)->format('d M Y, g:i A') }}
Receipt #: {{ str_pad($order->id, 6, '0', STR_PAD_LEFT) }}
Date: {{ \Carbon\Carbon::parse($order->created_at)->format('d M Y, g:i A') }}
Customer: {{ $order->customer_name }}
@if($order->customer_email)
Email: {{ $order->customer_email }}
@endif @if($order->customer_phone)
Phone: {{ $order->customer_phone }}
@endif @if($staffName)
Served by: {{ $staffName }}
@endif

Items

@foreach($lineItems['tickets'] as $ticket) @endforeach @if(count($lineItems['fees']) > 0) @foreach($lineItems['fees'] as $fee) @endforeach @endif @if(count($lineItems['taxes']) > 0) @foreach($lineItems['taxes'] as $tax) @endforeach @endif @if(count($lineItems['discounts']) > 0) @foreach($lineItems['discounts'] as $discount) @endforeach @endif
Description Qty Amount
{{ $ticket->item_description }} @if($ticket->item_metadata && isset($ticket->item_metadata['seat_number']))
Seat: {{ $ticket->item_metadata['seat_number'] }} @endif
1 €{{ number_format($ticket->unit_price, 2) }}
{{ $fee->item_description }} - €{{ number_format($fee->unit_price, 2) }}
{{ $tax->item_description }} - €{{ number_format($tax->unit_price, 2) }}
{{ $discount->item_description }} - -€{{ number_format(abs($discount->unit_price), 2) }}
Subtotal: €{{ number_format($subtotal, 2) }}
@if($fees > 0)
Fees: €{{ number_format($fees, 2) }}
@endif @if($taxes > 0)
Tax: €{{ number_format($taxes, 2) }}
@endif @if($discounts > 0)
Discount: -€{{ number_format($discounts, 2) }}
@endif
TOTAL: €{{ number_format($order->total_amount, 2) }}

Payment

Method: {{ ucwords(str_replace('_', ' ', $order->payment_method)) }}
Status: {{ ucwords($order->payment_status) }}
@if($order->payment_mode === 'deposit' && isset($order->deposit_amount))
Deposit Paid: €{{ number_format($order->deposit_amount, 2) }}
Balance Due: €{{ number_format($order->total_amount - $order->deposit_amount, 2) }}
@endif @if($order->payment_reference)
Reference: {{ $order->payment_reference }}
@endif
*** {{ strtoupper($order->session_id ?? str_pad($order->id, 10, '0', STR_PAD_LEFT)) }} ***