@forelse($order->items as $item) @if($item->shipping_tracking_number) @endif @empty @endforelse @if($order->price_vat > 0) @endif @if($order->price_shipping > 0) @endif @if($order->coupon_discount > 0) @endif
Product Seller Qty Unit Price Total Status Actions
@if($item->product && $item->product->images->isNotEmpty()) {{ $item->product_title }} @else
@endif
{{ $item->product_title ?? 'Unknown Product' }}
SKU: {{ $item->product_sku ?? 'N/A' }}
{{ $item->seller?->username ?? 'Unknown' }}
{{ $item->seller?->email ?? '' }}
{{ $item->product_quantity }} {{ currency_symbol() }}{{ number_format($item->product_unit_price, 2) }} {{ currency_symbol() }}{{ number_format($item->product_total_price, 2) }} {{ ucfirst($item->order_status ?? 'pending') }}
@if($item->order_status !== 'completed' && $item->order_status !== 'cancelled' && $item->order_status !== 'refunded')
@csrf
@endif
Tracking: {{ $item->shipping_tracking_number }} @if($item->shipping_method) ({{ $item->shipping_method }}) @endif @if($item->shipping_tracking_url) Track @endif
No items in this order
Subtotal: {{ currency_symbol() }}{{ number_format($order->price_subtotal, 2) }}
VAT: {{ currency_symbol() }}{{ number_format($order->price_vat, 2) }}
Shipping: {{ currency_symbol() }}{{ number_format($order->price_shipping, 2) }}
Discount: -{{ currency_symbol() }}{{ number_format($order->coupon_discount, 2) }}
Total: {{ currency_symbol() }}{{ number_format($order->price_total, 2) }}