@vite(['resources/css/app.css'])
@php $totalOriginal = 0; foreach($order->items as $item) { $totalOriginal += ($item->original_price ?? $item->price) * $item->quantity; } $totalDiscount = $totalOriginal - $order->subtotal; @endphp{{ $siteSettings['email'] ?? 'contact@chandrafashion.com' }}
{{ $siteSettings['phone'] ?? '+880 1XXX XXXXXX' }}
{{ $siteSettings['address'] ?? 'Dhaka, Bangladesh' }}
Order Number
{{ $order->order_number }}
{{ $order->name }}
{{ $order->phone }}
@if($order->email){{ $order->email }}
@endif{{ $order->address }}
Date: {{ $order->created_at->format('d M, Y') }}
Status: {{ $order->status }}
Payment: {{ $order->paymentMethod->name ?? 'N/A' }}
Shipping: {{ $order->deliveryMethod->name ?? 'N/A' }}
| Item Description | Qty | Unit Price | Total |
|---|---|---|---|
|
{{ $item->product_name }} @if($item->color) Color: {{ $item->color }} @endif @if($item->size) | Size: {{ $item->size }} @endif |
{{ $item->quantity }} |
@if($itemOrig > $itemCurrent)
৳{{ number_format($itemOrig) }}
@endif
৳{{ number_format($itemCurrent) }}
|
৳{{ number_format($itemCurrent * $item->quantity) }} |
Thank you for shopping with {{ $siteSettings['site_name'] ?? 'Chandra' }}
This is a computer generated invoice and does not require a signature.