@use('App\Helpers\Helpers') @php $currencyCode = Helpers::getDefaultCurrencyCode(); $currencySymbol = ($currencyCode == 'INR') ? "Rs." : Helpers::getDefaultCurrencySymbol(); @endphp {{ $settings['general']['site_title'] }}

{{ env('APP_NAME') }} - Invoice

Name - {{$order->consumer['name']}}

Email - {{$order->consumer['email']}}

Phone. - (+{{$order->consumer['country_code']}}) - {{$order->consumer['phone']}}

Order Numb. - {{$order->order_number}}

Order Date - {{$order->created_at->format("d/m/Y")}}

Payment Method - {{$order->payment_method}}

@if (!$order->is_digital_only) @endif @if (!$order->is_digital_only)

{{$order->shipping_address['street']}}

{{$order->shipping_address['pincode']}},

{{$order->shipping_address['city']}},

@if (isset($order->shipping_address['state']) && isset($order->shipping_address['country']))

{{$order->shipping_address['state']['name']}}, {{$order->shipping_address['country']['name']}}

@endif

Contact: ({{$order->shipping_address['country_code']}}) {{$order->shipping_address['phone']}}

@endif
Billing AddressShipping Address

{{$order->billing_address['street']}}

{{$order->billing_address['pincode']}},

{{$order->billing_address['city']}},

@if (isset($order->billing_address['state']) && isset($order->billing_address['country']))

{{$order->billing_address['state']['name']}}, {{$order->billing_address['country']['name']}}

@endif

Contact: ({{$order->billing_address['country_code']}}) {{$order->billing_address['phone']}}

@foreach ($order->products as $no => $product) @endforeach
No Product Name Price Qty Subtotal Shipping Cost Grand Total
{{++$no}} {{$product->name}} {{$currencySymbol}} {{$product->pivot->single_price}} {{$product->pivot->quantity}} {{$currencySymbol}} {{$product->pivot->subtotal}} {{$currencySymbol}} {{$product->pivot->shipping_cost}} {{$currencySymbol}} {{$product->pivot->subtotal + $product->pivot->shipping_cost + $product->pivot->tax}}

Sub Total

Tax

Shipping

Total Payable

{{$currencySymbol}} {{$order->amount}}

{{$currencySymbol}} {{$order->tax_total}}

{{$currencySymbol}} {{$order->shipping_total}}

{{$currencySymbol}} {{$order->total}}