@extends('backEnd.layouts.master') @section('title', 'Order #' . $order->invoice_id) @section('content') @push('styles') @if($canCustomize ?? false) @endif @endpush
| # | Product | Variant | Price | Qty | Total |
|---|---|---|---|---|---|
| {{ $i + 1 }} |
{{ $item->product_name }}
@if($item->product)
SKU: {{ $item->product->sku ?? 'N/A' }}
@endif
|
@if($item->size){{ $item->size }}@endif @if($item->color){{ $item->color }}@endif @if(!$item->size && !$item->color)—@endif | ৳{{ number_format($item->unit_price) }} | {{ $item->qty }} | ৳{{ number_format($item->unit_price * $item->qty) }} |
| Subtotal: | ৳{{ number_format($order->items->sum(fn($i) => $i->unit_price * $i->qty)) }} | ||||
| Shipping (+): | ৳{{ number_format($order->shipping_charge) }} | ||||
| Discount (-): | -৳{{ number_format($order->discount) }} | ||||
| Coupon ({{ $order->coupon_code }}): | -৳{{ number_format($order->coupon_discount) }} | ||||
| TOTAL DUE: | ৳{{ number_format($order->amount) }} | ||||
{{ $blockIp }}| Invoice ID | #{{ $order->invoice_id }} |
| Date | {{ $order->created_at->format('d M Y') }} |
| Payment | @if(\App\Services\ManualPaymentService::isManual($order->payment_method)) {{ \App\Services\ManualPaymentService::label($order->payment_method) }} @else {{ strtoupper($order->payment_method ?? 'COD') }} @endif @if($order->payment_status === 'pending_verification') Awaiting Verify @endif |
| Advance Paid | ৳{{ number_format($order->advance_amount) }} |
| Due (COD) | ৳{{ number_format($order->due_amount) }} |
| Source | {{ \App\Models\Order::sourceLabel($order->order_source ?? 'website') }} |
| Status | {{ \App\Models\Order::statusLabel($order->order_status) }} |
| Courier | {{ \App\Models\CourierApi::displayName($order->courier_type) }} |
| Tracking ID | {{ $order->consignment_id }} |
| Fulfillment | {{ ucwords(str_replace('_', ' ', $order->fulfillment_stage)) }} |
| Collected | {{ $order->collected_at->format('d M Y, h:i A') }} |
| Booked | {{ $order->booked_at->format('d M Y, h:i A') }} |
| Packed | {{ $order->packed_at->format('d M Y, h:i A') }} |
| Shipped | {{ $order->shipped_at->format('d M Y, h:i A') }} |
| Delivered | {{ $order->delivered_at->format('d M Y, h:i A') }} |
|
Admin Notes:
@include('backEnd.order.partials.order-note-list', ['noteText' => $order->admin_note])
|
|