{{-- meta tags --}} {{-- lang supports inclusion --}} @php /* main font will be set on locale based */ $mainFontFamily = app()->getLocale() === 'ar' ? 'DejaVu Sans' : 'Noto Sans'; @endphp {{-- main css --}}

{{ __('admin::app.sales.invoices.invoice') }}

@if (core()->getConfigData('sales.invoice_setttings.invoice_slip_design.logo'))
@endif
{{ core()->getConfigData('sales.shipping.origin.store_name') ? core()->getConfigData('sales.shipping.origin.store_name') : '' }}
{{ core()->getConfigData('sales.shipping.origin.address1') ? core()->getConfigData('sales.shipping.origin.address1') : '' }}
{{ core()->getConfigData('sales.shipping.origin.zipcode') ? core()->getConfigData('sales.shipping.origin.zipcode') : '' }} {{ core()->getConfigData('sales.shipping.origin.city') ? core()->getConfigData('sales.shipping.origin.city') : '' }}
{{ core()->getConfigData('sales.shipping.origin.state') ? core()->getConfigData('sales.shipping.origin.state') : '' }}
{{ core()->getConfigData('sales.shipping.origin.country') ? core()->country_name(core()->getConfigData('sales.shipping.origin.country')) : '' }}
@if (core()->getConfigData('sales.shipping.origin.contact'))
{{ __('admin::app.admin.system.contact-number') }}: {{ core()->getConfigData('sales.shipping.origin.contact') }}
@endif @if (core()->getConfigData('sales.shipping.origin.vat_number'))
{{ __('admin::app.admin.system.vat-number') }}: {{ core()->getConfigData('sales.shipping.origin.vat_number') }}
@endif @if (core()->getConfigData('sales.shipping.origin.bank_details'))
{{ __('admin::app.admin.system.bank-details') }}: {{ core()->getConfigData('sales.shipping.origin.bank_details') }}
@endif
{{ __('shop::app.customer.account.order.view.invoice-id') }} - #{{ $invoice->increment_id ?? $invoice->id }}
{{ __('shop::app.customer.account.order.view.invoice-date') }} - {{ core()->formatDate($invoice->created_at, 'd-m-Y') }}
{{ __('shop::app.customer.account.order.view.order-id') }} - #{{ $invoice->order->increment_id }}
{{ __('shop::app.customer.account.order.view.order-date') }} - {{ core()->formatDate($invoice->order->created_at, 'd-m-Y') }}
@if ($invoice->hasPaymentTerm())
{{ __('shop::app.customer.account.order.view.payment-terms') }} - {{ $invoice->getFormattedPaymentTerm() }}
@endif
@if ($invoice->order->shipping_address) @endif @if ($invoice->order->shipping_address) @endif
{{ __('shop::app.customer.account.order.view.bill-to') }}{{ __('shop::app.customer.account.order.view.ship-to') }}

{{ $invoice->order->billing_address->company_name ?? '' }}

{{ $invoice->order->billing_address->name }}

{{ $invoice->order->billing_address->address1 }}

{{ $invoice->order->billing_address->city }}

{{ $invoice->order->billing_address->state }}

{{ core()->country_name($invoice->order->billing_address->country) }} {{ $invoice->order->billing_address->postcode }}

{{ __('shop::app.customer.account.order.view.contact') }} : {{ $invoice->order->billing_address->phone }}

{{ $invoice->order->shipping_address->company_name ?? '' }}

{{ $invoice->order->shipping_address->name }}

{{ $invoice->order->shipping_address->address1 }}

{{ $invoice->order->shipping_address->city }}

{{ $invoice->order->shipping_address->state }}

{{ core()->country_name($invoice->order->shipping_address->country) }} {{ $invoice->order->shipping_address->postcode }}

{{ __('shop::app.customer.account.order.view.contact') }} : {{ $invoice->order->shipping_address->phone }}
@if ($invoice->order->shipping_address) @endif @if ($invoice->order->shipping_address) @endif
{{ __('shop::app.customer.account.order.view.payment-method') }}{{ __('shop::app.customer.account.order.view.shipping-method') }}
{{ core()->getConfigData('sales.paymentmethods.' . $invoice->order->payment->method . '.title') }} @php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($invoice->order->payment->method); @endphp @if (! empty($additionalDetails))

{{ $additionalDetails['value'] }}

@endif
{{ $invoice->order->shipping_title }}
@foreach ($invoice->items as $item) @endforeach
{{ __('shop::app.customer.account.order.view.SKU') }} {{ __('shop::app.customer.account.order.view.product-name') }} {{ __('shop::app.customer.account.order.view.price') }} {{ __('shop::app.customer.account.order.view.qty') }} {{ __('shop::app.customer.account.order.view.subtotal') }} {{ __('shop::app.customer.account.order.view.tax-amount') }} {{ __('shop::app.customer.account.order.view.grand-total') }}
{{ $item->child ? $item->child->sku : $item->sku }} {{ $item->name }} @if (isset($item->additional['attributes']))
@foreach ($item->additional['attributes'] as $attribute) {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endforeach
@endif
{{ core()->formatPrice($item->price, $invoice->order->order_currency_code) }} {{ $item->qty }} {{ core()->formatPrice($item->total, $invoice->order->order_currency_code) }} {{ core()->formatPrice($item->tax_amount, $invoice->order->order_currency_code) }} {{ core()->formatPrice(($item->total + $item->tax_amount), $invoice->order->order_currency_code) }}
@if ($invoice->base_discount_amount > 0) @endif
{{ __('shop::app.customer.account.order.view.subtotal') }} - {{ core()->formatPrice($invoice->sub_total, $invoice->order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.shipping-handling') }} - {{ core()->formatPrice($invoice->shipping_amount, $invoice->order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.discount') }} - {{ core()->formatPrice($invoice->discount_amount, $invoice->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.tax') }} - {{ core()->formatPrice($invoice->tax_amount, $invoice->order->order_currency_code) }}

{{ __('shop::app.customer.account.order.view.grand-total') }} - {{ core()->formatPrice($invoice->grand_total, $invoice->order->order_currency_code) }}