Items
{{ ucfirst($order->status) }}
@foreach($order->items as $item)
@if($item->product)
{{ $item->product_name }}
@else
{{ $item->product_name }}
@endif
× {{ $item->quantity }}
₹{{ number_format($item->total, 0) }}
@endforeach
Subtotal₹{{ number_format($order->subtotal, 0) }}
@if($order->discount_amount > 0)
Discount{{ $order->coupon_code ? ' ('.$order->coupon_code.')' : '' }}−₹{{ number_format($order->discount_amount, 0) }}
@endif
Shipping{{ $order->shipping_amount > 0 ? '₹'.number_format($order->shipping_amount, 0) : 'Free' }}
Total₹{{ number_format($order->total, 0) }}
@if($order->status === 'pending')
@endif