@lang('admin::app.sales.invoices.invoice-pdf.invoice-id'): #{{ $invoice->increment_id ?? $invoice->id }} | @endif @if (core()->getConfigData('sales.invoice_settings.pdf_print_outs.order_id'))@lang('admin::app.sales.invoices.invoice-pdf.order-id'): #{{ $invoice->order->increment_id }} | @endif
@lang('admin::app.sales.invoices.invoice-pdf.date'): {{ core()->formatDate($invoice->created_at, 'd-m-Y') }} | @lang('admin::app.sales.invoices.invoice-pdf.order-date'): {{ core()->formatDate($invoice->order->created_at, 'd-m-Y') }} |
{{ core()->getConfigData('sales.shipping.origin.store_name') }}
{{ core()->getConfigData('sales.shipping.origin.address') }}
{{ core()->getConfigData('sales.shipping.origin.zipcode') . ' ' . core()->getConfigData('sales.shipping.origin.city') }}
{{ core()->getConfigData('sales.shipping.origin.state') . ', ' . core()->getConfigData('sales.shipping.origin.country') }}
|
@endif
@if ($invoice->hasPaymentTerm())
@lang('admin::app.sales.invoices.invoice-pdf.payment-terms'):
{{ $invoice->getFormattedPaymentTerm() }}
@endif
@if (core()->getConfigData('sales.shipping.origin.bank_details'))
@lang('admin::app.sales.invoices.invoice-pdf.bank-details'):
@endif
{!! nl2br(core()->getConfigData('sales.shipping.origin.bank_details')) !!}
|
@lang('admin::app.sales.invoices.invoice-pdf.bill-to') | @endif @if ($invoice->order->shipping_address)@lang('admin::app.sales.invoices.invoice-pdf.ship-to') | @endif
---|---|
{{ $invoice->order->billing_address->company_name ?? '' }} {{ $invoice->order->billing_address->name }}
{{ $invoice->order->billing_address->address }}
{{ $invoice->order->billing_address->postcode . ' ' . $invoice->order->billing_address->city }}
{{ $invoice->order->billing_address->state . ', ' . core()->country_name($invoice->order->billing_address->country) }}
@lang('admin::app.sales.invoices.invoice-pdf.contact'): {{ $invoice->order->billing_address->phone }}
|
@endif
@if ($invoice->order->shipping_address)
{{ $invoice->order->shipping_address->company_name ?? '' }} {{ $invoice->order->shipping_address->name }}
{{ $invoice->order->shipping_address->address }}
{{ $invoice->order->shipping_address->postcode . ' ' . $invoice->order->shipping_address->city }}
{{ $invoice->order->shipping_address->state . ', ' . core()->country_name($invoice->order->shipping_address->country) }}
@lang('admin::app.sales.invoices.invoice-pdf.contact'): {{ $invoice->order->shipping_address->phone }}
|
@endif
@lang('admin::app.sales.invoices.invoice-pdf.payment-method') | @if ($invoice->order->shipping_address)@lang('admin::app.sales.invoices.invoice-pdf.shipping-method') | @endif
---|---|
{{ core()->getConfigData('sales.payment_methods.' . $invoice->order->payment->method . '.title') }}
@php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($invoice->order->payment->method); @endphp
@if (! empty($additionalDetails))
{{ $additionalDetails['title'] }}:
{{ $additionalDetails['value'] }}
@endif
|
@if ($invoice->order->shipping_address)
{{ $invoice->order->shipping_title }} | @endif
@lang('admin::app.sales.invoices.invoice-pdf.sku') | @lang('admin::app.sales.invoices.invoice-pdf.product-name') | @lang('admin::app.sales.invoices.invoice-pdf.price') | @lang('admin::app.sales.invoices.invoice-pdf.qty') | @lang('admin::app.sales.invoices.invoice-pdf.subtotal') |
---|---|---|---|---|
{{ $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
|
@if (core()->getConfigData('sales.taxes.sales.display_prices') == 'including_tax')
{!! core()->formatBasePrice($item->base_price_incl_tax, true) !!}
@elseif (core()->getConfigData('sales.taxes.sales.display_prices') == 'both')
{!! core()->formatBasePrice($item->base_price_incl_tax, true) !!}
@lang('admin::app.sales.invoices.invoice-pdf.excl-tax')
{{ core()->formatPrice($item->base_price) }}
@else
{!! core()->formatBasePrice($item->base_price, true) !!}
@endif
|
{{ $item->qty }} |
@if (core()->getConfigData('sales.taxes.sales.display_subtotal') == 'including_tax')
{!! core()->formatBasePrice($item->base_total_incl_tax, true) !!}
@elseif (core()->getConfigData('sales.taxes.sales.display_subtotal') == 'both')
{!! core()->formatBasePrice($item->base_total_incl_tax, true) !!}
@lang('admin::app.sales.invoices.invoice-pdf.excl-tax')
{{ core()->formatPrice($item->base_total) }}
@else
{!! core()->formatBasePrice($item->base_total, true) !!}
@endif
|
@lang('admin::app.sales.invoices.invoice-pdf.subtotal') | - | {!! core()->formatBasePrice($invoice->base_sub_total_incl_tax, true) !!} |
@lang('admin::app.sales.invoices.invoice-pdf.subtotal-incl-tax') | - | {!! core()->formatBasePrice($invoice->base_sub_total_incl_tax, true) !!} |
@lang('admin::app.sales.invoices.invoice-pdf.subtotal-excl-tax') | - | {!! core()->formatBasePrice($invoice->base_sub_total, true) !!} |
@lang('admin::app.sales.invoices.invoice-pdf.subtotal') | - | {!! core()->formatBasePrice($invoice->base_sub_total, true) !!} |
@lang('admin::app.sales.invoices.invoice-pdf.shipping-handling') | - | {!! core()->formatBasePrice($invoice->base_shipping_amount_incl_tax, true) !!} |
@lang('admin::app.sales.invoices.invoice-pdf.shipping-handling-incl-tax') | - | {!! core()->formatBasePrice($invoice->base_shipping_amount_incl_tax, true) !!} |
@lang('admin::app.sales.invoices.invoice-pdf.shipping-handling-excl-tax') | - | {!! core()->formatBasePrice($invoice->base_shipping_amount, true) !!} |
@lang('admin::app.sales.invoices.invoice-pdf.shipping-handling') | - | {!! core()->formatBasePrice($invoice->base_shipping_amount, true) !!} |
@lang('admin::app.sales.invoices.invoice-pdf.tax') | - | {!! core()->formatBasePrice($invoice->base_tax_amount, true) !!} |
@lang('admin::app.sales.invoices.invoice-pdf.discount') | - | {!! core()->formatBasePrice($invoice->base_discount_amount, true) !!} |
@lang('admin::app.sales.invoices.invoice-pdf.grand-total') | - | {!! core()->formatBasePrice($invoice->base_grand_total, true) !!} |