{{ __('Purchase Receipt') }}

Thank You for Your Purchase!

Your order has been completed successfully. A receipt has been sent to your email.

Order Summary

@if($purchases->count() > 0) @php $processingFee = $processingFee ?? 0; $subtotalAmount = $subtotalAmount ?? 0; $totalAmount = $totalAmount ?? 0; @endphp @foreach($purchases as $item)
{{ $item['name'] }} {{-- Show extra info if it's an update_plate --}} @if ($item['type'] === 'update_plate') New Plate: {{ $item['new_vehicle_no'] ?? 'N/A' }} @if (!empty($item['old_vehicle_no'])) (Previous: {{ $item['old_vehicle_no'] }}) @endif @endif MYR {{ number_format($item['price'], 2) }}
@endforeach @else

No items found for this receipt.

@endif
Subtotal MYR {{ number_format($subtotalAmount, 2) }}
Processing Fee MYR {{ number_format($processingFee, 2) }}
Total Amount MYR {{ number_format($totalAmount, 2) }}