@extends('layouts.frontend') @section('title', 'Order Details') @section('content')
Status: {{ ucfirst($order->status) }}
Order Date: {{ $order->created_at->format('F d, Y h:i A') }}
| Product | Quantity | Price | Subtotal |
|---|---|---|---|
| {{ $item->product->name }} | {{ $item->quantity }} | ${{ number_format($item->price, 2) }} | ${{ number_format($item->subtotal, 2) }} |
| Total: | ${{ number_format($order->total_amount, 2) }} | ||
{{ $order->shipping_address }}
{{ $order->billing_address }}