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
| Description |
Qty |
Amount |
@foreach($lineItems['tickets'] as $ticket)
{{ $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) }} |
@endforeach
@if(count($lineItems['fees']) > 0)
@foreach($lineItems['fees'] as $fee)
| {{ $fee->item_description }} |
- |
€{{ number_format($fee->unit_price, 2) }} |
@endforeach
@endif
@if(count($lineItems['taxes']) > 0)
@foreach($lineItems['taxes'] as $tax)
| {{ $tax->item_description }} |
- |
€{{ number_format($tax->unit_price, 2) }} |
@endforeach
@endif
@if(count($lineItems['discounts']) > 0)
@foreach($lineItems['discounts'] as $discount)
| {{ $discount->item_description }} |
- |
-€{{ number_format(abs($discount->unit_price), 2) }} |
@endforeach
@endif
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)) }} ***