Invoice


Billed To:
@if($order->customer_id) {{ $order->customer->first_name ?? '' }} {{ $order->customer->last_name ?? '' }}
@else {{ $order->orderShipping->shipping_first_name ?? '' }} {{ $order->shipping->shipping_last_name ?? '' }}
@endif @if($order->customer_id) {{ $order->customer->email ?? '' }} @else {{ $order->orderShipping->shipping_email ?? '' }} @endif
{{$order->orderShipping->shipping_address ?? ''}} , {{$order->delivery->township ?? ''}}
Order ID: {{ $order->id ?? '' }}
Order Date: {{ date('Y-M-d', strtotime($order->created_at)) ?? '' }}

Order summary

@foreach($order->orderProducts as $item) @endforeach
Product Option Qty Price Discount Promotion Price Amount
{{ $item->product['name_en'] }} {{ $item->order_note ? "(".$item->order_note.")":""}} @foreach($item->orderOptions as $option) @if ($option->name == 'Color') {{ $option->name }} - {{ $option->color_name }}
{{--
--}} @else {{ $option->name }} - {{$option->value }}
@endif @endforeach
{{ $item->quantity ?? '' }} {{ number_format($item->price) ?? '' }} {{ number_format($item->discount_price) ?? '' }} @if ($item->promotion_code) - {{ number_format($promotion_price) ?? '' }} @endif {{-- {{ ($item->price * $item->quantity) - $item->discount_price }} --}} {{ $item->amount }}
Sub Total {{ number_format($order->sub_total) ?? '' }}
Delivery Fee {{ number_format($order->delivery->fee) ?? '' }}
Tax 5% Included
Grand Total {{ number_format($order->grand_total) ?? '' }}