{{ __('Order Invoice') }}

#{{ $order->reference }}

@if (isset($user) && !empty($user->name))

{{ $user->name }}

@endif @if (isset($user) && !empty($user->phone))

{{ $user->phone }}

@endif @if (isset($user) && !empty($user->email)) @endif
@if (isActive('Shop')) @php $shop = true; @endphp @endif @if ($shop) @endif @foreach ($orderDetails as $detail) @php $opName = ''; if ($detail->payloads != null) { $option = (array) json_decode($detail->payloads); $itemCount = count($option); $i = 0; foreach ($option as $key => $value) { $opName .= $key . ': ' . $value . (++$i == $itemCount ? '' : ', '); } } $productInfo = $orderAction->getProductInfo($detail); @endphp @if ($shop) @endif @endforeach
{{ __('Product Name') }}{{ __('Shop Name') }}{{ __('Quantity') }} {{ __('Amount') }}

{{ $detail->product_name }}
{{ !empty($opName) ? '( ' . $opName . ' )' : '' }}

{{ $opName }}

{{ optional($detail->vendor)->name }}

{{ formatCurrencyAmount($detail->quantity) }}

{{ formatNumber($detail->price * $detail->quantity, optional($order->currency)->symbol) }}

@if ($order->other_discount_amount > 0 && isActive('Coupon')) @endif

{{ __('Delivery Details') }}

@php $shippingAddress = $order->getShippingAddress(); $billingAddress = $order->getBillingAddress(); @endphp

{{ __('Shipping Address') }} :

{{ $shippingAddress->first_name . ' ' . $shippingAddress->last_name }}

{{ __('Street Address') }}: {{ $shippingAddress->address_1 }}{{ !empty($shippingAddress->address_2) ? ', ' . $shippingAddress->address_2 : '' }}

{{ __('City') }}: {{ $shippingAddress->city }}

{{ __('Postcode') . ' / ' . __('ZIP') }}:{{ $shippingAddress->zip }}

{{ __('Country') }}: {{ $shippingAddress->country }}

{{ __('State') . ' / ' . __('Province') }}:{{ $shippingAddress->state }}

@if (!empty($shippingAddress->phone))

{{ __('Phone') }}: {{ $shippingAddress->phone }}

@endif

{{ __('ESTIMATED DELIVERY TIME') }}

{{ __('Office Days') }}

{{ __('PAYMENT') }}

@if (!empty(optional($order->paymentMethod)->gateway))

{{ optional($order->paymentMethod)->gateway }}

@endif

{{ __('Keep in touch')}}

{{ __('If you have any queries, concerns or suggestions')}},

@if (preference('company_email'))

{{ __('please email us')}} : {{ preference('company_email') }}

@endif @if (preference('company_phone'))

{{ __('Helpline')}} : {{ preference('company_phone') }}

@endif

© {{ date('Y') . ' ' . preference('company_name') . __("All rights reserved.") }}

@if ($type == 'print') @endif