INVOICE

@if($order->invoice_no)

Invoice #: {{ $order->invoice_no }}

@endif

Order #{{ $order->id }} | Date: {{ $order->created_at->format('M d, Y') }}

From:

{{ $order->store->merchant->business_name }}

{{ $order->store->merchant->business_address }}

Phone: {{ $order->store->merchant->business_phone }}

To:

{{ $order->customer_name }}

{{ $order->customer_address }}

Phone: {{ $order->customer_phone }}

@foreach($order->items as $item) @endforeach
Item Qty Price Disc Tax Total
{{ $item->product->name }} {{ $item->quantity }} {{ config('custom.currency_symbol') }}{{ number_format($item->unit_price, 2) }} {{ config('custom.currency_symbol') }}{{ number_format($item->discount_price, 2) }} {{ config('custom.currency_symbol') }}{{ number_format($item->tax_amount, 2) }} {{ config('custom.currency_symbol') }}{{ number_format($item->total_price, 2) }}
Subtotal: {{ config('custom.currency_symbol') }}{{ number_format($order->items->sum('total_price'), 2) }}
Delivery: {{ config('custom.currency_symbol') }}{{ number_format($order->delivery_charge, 2) }}
Discount: -{{ config('custom.currency_symbol') }}{{ number_format($order->discount_amount, 2) }}
Tax: {{ config('custom.currency_symbol') }}{{ number_format($order->tax_amount, 2) }}
Total: {{ config('custom.currency_symbol') }}{{ number_format($order->total_amount, 2) }}