@extends('customer.dashboard.layout') @section('title', 'Order Details') @section('content')
Placed on {{ $order->created_at->format('F d, Y \a\t g:i A') }}
| Product | Price | Quantity | Total |
|---|---|---|---|
|
{{ $item->product_name }}
@if($item->variation_details)
{{ $item->variation_details }}
@endif
@if($item->product_sku)
SKU: {{ $item->product_sku }}
@endif
|
RM {{ number_format($item->unit_price, 2) }} | {{ $item->quantity }} | RM {{ number_format($item->total_price, 2) }} |
| Subtotal: | RM {{ number_format($order->subtotal, 2) }} | ||
| Tax: | RM {{ number_format($order->tax_amount, 2) }} | ||
| Shipping: | RM {{ number_format($order->shipping_amount, 2) }} | ||
| Discount: | -RM {{ number_format($order->discount_amount, 2) }} | ||
| Total: | RM {{ number_format($order->total_amount, 2) }} | ||
{{ $order->notes }}