@foreach ($order->products as $product) @endforeach
{{ config('app.name') }}
{{ $generaleSetting?->address }}
Phone: {{ $generaleSetting?->mobile }} | Email: {{ $generaleSetting?->email }}
Order Number: #{{ str_pad($order->id, 6, '0', STR_PAD_LEFT) }} | Order Date: {{ $order->created_at->format('M d, Y') }}
Delivery Address
{{ $order->address?->name }}
{{ $order->address?->address_line }}
@if ($order->address?->area) {{ $order->address?->area }} @endif @if ($order->address?->address_line2) , {{ $order->address?->address_line2 }} @endif @if ($order->address?->post_code) , {{ $order->address?->post_code }} @endif
Product Image {{ $product->name }}
Quantity: {{ $product->pivot?->quantity }}
Color: {{ $product->pivot?->color ?? '--' }} {{ showCurrency($product->pivot?->price) }} Per {{ $product->unit?->name ?? 'Unit' }}
Size: {{ $product->pivot?->size ?? '--' }} {{ showCurrency($product->pivot?->price * $product->pivot?->quantity) }} Total
@if ($order->tax_amount) @endif @if ($order->coupon_discount) @endif
Sub-Total: {{ showCurrency($order->total_amount) }}
Vat/Tax: {{ showCurrency($order->tax_amount) }}
Discount: {{ showCurrency($order->coupon_discount) }}
Shipping Fee: {{ showCurrency($order->delivery_charge) }}
Order Total {{ showCurrency($order->payable_amount) }}
Payment Term: 100%
Deposit Amount @if ($order->payment_status->value == 'Paid') {{ showCurrency($order->payable_amount) }} @else {{ showCurrency(0) }} @endif
Payment Method ({{ $order->payment_method?->value }})
Note: {{ $order->instruction ?? '--' }}