Order Summary
Order #
#{{ $order->order_number }}
Total
{{ $order->price_currency ?? '' }} {{ number_format((float) $order->price_total, 2) }}
Payment Method
{{ ucfirst(str_replace('_', ' ', $order->payment_method ?? 'N/A')) }}
Payment Status
{{ ucfirst(str_replace('_', ' ', $order->payment_status ?? 'N/A')) }}
Order Status
@if($order->status == 0) Active @elseif($order->status == 1) Completed @elseif($order->status == 2) Cancelled @else Unknown @endif
Date
{{ $order->created_at?->format('M d, Y H:i') ?? 'N/A' }}
@if($order->items->isNotEmpty())
Order Items ({{ $order->items->count() }})
@foreach($order->items as $item)
{{ $item->product_title ?? 'Unknown Product' }}
Qty: {{ $item->product_quantity }} × {{ number_format((float) $item->product_unit_price, 2) }}
{{ number_format((float) $item->product_total_price, 2) }}
@endforeach
@endif @if($order->transactions->isNotEmpty())
Order Transactions ({{ $order->transactions->count() }})
@foreach($order->transactions as $txn) @endforeach
ID Payment ID Method Amount Status Date
#{{ $txn->id }} {{ Str::limit($txn->payment_id, 20) ?: 'N/A' }} {{ ucfirst(str_replace('_', ' ', $txn->payment_method ?? 'N/A')) }} {{ $txn->currency ?? '' }} {{ number_format((float) $txn->payment_amount, 2) }} {{ ucfirst(str_replace('_', ' ', $txn->payment_status ?? 'N/A')) }} {{ $txn->created_at?->format('M d, Y') ?? 'N/A' }}
@endif