@extends('admin.layouts.admin') @section('title', 'Order Details') @section('admin_content')
Name: {{ $order->shipping_name }}
Email: {{ $order->shipping_email }}
Phone: {{ $order->shipping_phone }}
{{ $order->shipping_address }}, {{ $order->shipping_city }}, {{ $order->shipping_state }}, {{ $order->shipping_country }} - {{ $order->shipping_zip }}
Method: {{ ucfirst($order->payment_method) }}
Transaction ID: {{ $order->transaction_id ?? 'N/A' }}
Status:
{{ ucfirst($order->status) }}
| # | Product | Qty | Price | Subtotal |
|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->product->name ?? 'N/A' }} | {{ $item->quantity }} | ₹{{ number_format($item->price, 2) }} | ₹{{ number_format($item->price * $item->quantity, 2) }} |
| Total: | ₹{{ number_format($order->total_amount, 2) }} | |||
No items found for this order.
@endif