{{-- 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 --}}
@if (core()->getConfigData('sales.invoice_settings.invoice_slip_design.logo'))
@else @endif
{{ strtoupper(__('admin::app.sales.invoices.invoice')) }}
{{ __('admin::app.sales.invoices.invoice-id') }}: #{{ $invoice->increment_id ?? $invoice->id }}
{{ __('admin::app.sales.invoices.date') }}: {{ core()->formatDate($invoice->created_at, 'd-m-Y') }}
{{ 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.zipcode') ?? '' }} {{ core()->getConfigData('sales.shipping.origin.city') ?? '' }}
{{ core()->getConfigData('sales.shipping.origin.state') ?? '' }}
{{ 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
{{ __('admin::app.sales.invoices.order-id') }}: #{{ $invoice->order->increment_id }}
{{ __('admin::app.sales.invoices.order-date') }}: {{ core()->formatDate($invoice->order->created_at, 'd-m-Y') }}
@if ($invoice->hasPaymentTerm())
{{ __('admin::app.customer.account.order.view.payment-terms') }} - {{ $invoice->getFormattedPaymentTerm() }}
@endif @if (core()->getConfigData('sales.shipping.origin.bank_details'))
{{ __('admin::app.admin.system.bank-details') }}:
{{ core()->getConfigData('sales.shipping.origin.bank_details') }}
@endif
@if ($invoice->order->shipping_address) @endif @if ($invoice->order->billing_address) @endif @if ($invoice->order->shipping_address) @endif
{{ ucwords(trans('admin::app.sales.invoices.bill-to')) }}{{ ucwords(trans('admin::app.sales.invoices.ship-to')) }}

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

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

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

{{ $invoice->order->billing_address->postcode . ' ' .$invoice->order->billing_address->city }}

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

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

{{ __('shop::app.checkout.onepage.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->postcode . ' ' . $invoice->order->shipping_address->city }}

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

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

{{ __('shop::app.checkout.onepage.contact') }} : {{ $invoice->order->shipping_address->phone }}
@if ($invoice->order->shipping_address) @endif @if ($invoice->order->shipping_address) @endif
{{ __('admin::app.sales.orders.payment-method') }}{{ __('admin::app.sales.orders.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
{{ __('admin::app.sales.orders.SKU') }} {{ __('admin::app.sales.orders.product-name') }} {{ __('admin::app.sales.orders.price') }} {{ __('admin::app.sales.orders.qty') }} {{ __('admin::app.sales.orders.subtotal') }} {{ __('admin::app.sales.orders.tax-amount') }} {{ __('admin::app.sales.orders.grand-total') }}
{{ $item->getTypeInstance()->getOrderedItem($item)->sku }} {{ $item->name }} @if (isset($item->additional['attributes']))
@foreach ($item->additional['attributes'] as $attribute) {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endforeach
@endif
{!! core()->formatBasePrice($item->base_price, true) !!} {{ $item->qty }} {!! core()->formatBasePrice($item->base_total, true) !!} {!! core()->formatBasePrice($item->base_tax_amount, true) !!} {!! core()->formatBasePrice($item->base_total + $item->base_tax_amount, true) !!}
{{ __('admin::app.sales.orders.subtotal') }} - {!! core()->formatBasePrice($invoice->base_sub_total, true) !!}
{{ __('admin::app.sales.orders.shipping-handling') }} - {!! core()->formatBasePrice($invoice->base_shipping_amount, true) !!}
{{ __('admin::app.sales.orders.tax') }} - {!! core()->formatBasePrice($invoice->base_tax_amount, true) !!}
{{ __('admin::app.sales.orders.discount') }} - {!! core()->formatBasePrice($invoice->base_discount_amount, true) !!}

{{ __('admin::app.sales.orders.grand-total') }} - {!! core()->formatBasePrice($invoice->base_grand_total, true) !!}