@extends('layouts.admin') @section('title', 'Order Details') @section('content')

Order {{ $order->order_number }}

Back to Orders

Ordered Items

@foreach($order->items as $item) @endforeach
Product Price Qty Total
@if($item->product->thumbnail) @endif {{ $item->product->title }}
PKR {{ number_format($item->price, 2) }} {{ $item->quantity }} PKR {{ number_format($item->price * $item->quantity, 2) }}
Grand Total PKR {{ number_format($order->final_amount, 2) }}

Customer Information

Name: {{ $order->customer_name }}

Email: {{ $order->customer_email }}

Phone: {{ $order->customer_phone }}

Shipping Details

Address:
{{ $order->shipping_address }}

@if($order->notes)

Notes:
{{ $order->notes }}

@endif

Manage Order

@csrf @method('PUT')

Payment Method: {{ strtoupper($order->payment_method) }}

Placed On: {{ $order->created_at->format('M d, Y H:i') }}

@endsection