@extends('admin.layouts.main') @php $page_name = 'Order Details'; @endphp @section('style') @endsection @section('content')
Customer Name: {{ $order->checkout->user->name ?? 'N/A' }}
Contact: {{ $order->checkout->user->mobile ?? 'N/A' }}
| # | Product Name | Quantity | Sales Price | Discount | Branding Cost | Shipping Cost | Total |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->product_name }} | {{ $quantity }} | ₹{{ number_format($item->sales_price, 2) }} | ₹{{ number_format($item->discount, 2) }} | ₹{{ number_format($item->branding_cost * $quantity, 2) }} | ₹{{ number_format($item->shipping_cost, 2) }} |
₹{{ number_format($total, 2) }} (CGST: ₹{{ number_format($cgst, 2) }}, SGST: ₹{{ number_format($sgst, 2) }}) |
| Grand Total (with GST) | ₹{{ number_format($grandTotal, 2) }} | ||||||