@extends('layouts.admin') @section('page_title', 'Order Details: ' . $order->order_number) @section('content')
Back to list

Products Ordered

@foreach($order->items as $item)
{{ $item->product_name }}

{{ $item->product_name }}

@if($item->selected_size) {{ $item->selected_size }} @endif @if($item->selected_color) {{ $item->selected_color }} @endif

Qty: {{ $item->quantity }} × ৳{{ number_format($item->price, 0) }}

৳{{ number_format($item->total, 0) }}
@endforeach

Financial Summary

Subtotal ৳{{ number_format($order->subtotal, 0) }}
Shipping Cost ৳{{ number_format($order->shipping_cost, 0) }}
Grand Total ৳{{ number_format($order->total, 0) }}

Update Order Status

@csrf @method('PATCH')

Customer details

{{ $order->customer_name }}

@if(!empty($order->customer_email))

{{ $order->customer_email }}

@endif @if($order->customer_phone)

{{ $order->customer_phone }}

@endif
Shipping Address

{{ $order->shipping_address }}

@if($order->notes)
Order Notes

{{ $order->notes }}

@endif
@endsection