@extends('admin.layout.app') @section('title', 'Order Details') @section('page-title', 'Order Details') @section('content')
{{ $order->transaction_id ?? 'N/A' }}
| Product | Price | Quantity | Total |
|---|---|---|---|
|
{{ $itemName }} SKU: {{ $itemSku }} |
₹{{ number_format($item->price, 2) }} | {{ $item->quantity }} | ₹{{ number_format($item->total, 2) }} |
| Subtotal: | ₹{{ number_format($order->orderItems->sum(function($item) { return $item->price * $item->quantity; }), 2) }} |
| GST: | ₹{{ number_format($order->gst_amount, 2) }} |
| Product Discount: | -₹{{ number_format($order->product_discount, 2) }} |
| Coupon Discount ({{ $order->coupon_code ?? '' }}): | -₹{{ number_format($order->coupon_discount, 2) }} |
| Total Amount: | ₹{{ number_format($order->total_amount, 2) }} |