@foreach ($sellerOrder->invoices as $invoice)

@lang('marketplace::app.seller.orders.view.invoices.individual-invoice', ['invoice_id' => $invoice->increment_id ?? $invoice->id]),

 

@lang('marketplace::app.seller.orders.view.invoices.created-on', ['date_time' => core()->formatDate($invoice->created_at, 'd/m/y h:i:s')])

@if (seller()->hasPermission('orders.print_invoice')) @lang('marketplace::app.seller.orders.view.invoices.print') @endif
@foreach ($invoice->items as $orderItem) @endforeach
@lang('marketplace::app.seller.orders.view.invoices.name') @lang('marketplace::app.seller.orders.view.invoices.price') @lang('marketplace::app.seller.orders.view.invoices.qty') @lang('marketplace::app.seller.orders.view.invoices.tax') @lang('marketplace::app.seller.orders.view.invoices.discount') @lang('marketplace::app.seller.orders.view.invoices.subtotal')

{{ $orderItem->item->name }}

@lang('marketplace::app.seller.orders.view.invoices.sku', ['sku' => $orderItem->item->sku])

@if (isset($orderItem->item->additional['attributes']))
@foreach ($orderItem->item->additional['attributes'] as $attribute) {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endforeach
@endif
{{ core()->formatBasePrice($orderItem->item->base_price) }} {{ $orderItem->item->qty }} {{ core()->formatBasePrice($orderItem->item->base_tax_amount) }} {{ core()->formatBasePrice($orderItem->item->base_discount_amount) }} {{ core()->formatBasePrice($orderItem->item->base_total) }}
@if (core()->getConfigData('sales.taxes.sales.display_subtotal') != 'including_tax')

@if (core()->getConfigData('sales.taxes.sales.display_subtotal') == 'both') @lang('marketplace::app.seller.orders.view.invoices.sub-total-excl-tax') @else @lang('marketplace::app.seller.orders.view.invoices.subtotal') @endif

-

{{ core()->formatBasePrice($invoice->base_sub_total) }}

@endif @if (core()->getConfigData('sales.taxes.sales.display_subtotal') == 'including_tax' || core()->getConfigData('sales.taxes.sales.display_subtotal') == 'both' )

@lang('marketplace::app.seller.orders.view.invoices.sub-total-incl-tax')

-

{{ core()->formatBasePrice($invoice->base_sub_total_incl_tax) }}

@endif @if (core()->getConfigData('sales.taxes.sales.display_shipping_amount') != 'including_tax')

@if (core()->getConfigData('sales.taxes.sales.display_shipping_amount') == 'both') @lang('marketplace::app.seller.orders.view.invoices.shipping-handling-excl-tax') @else @lang('marketplace::app.seller.orders.view.invoices.shipping-handling') @endif

-

{{ core()->formatBasePrice(0) }}

@endif @if (core()->getConfigData('sales.taxes.sales.display_shipping_amount') == 'including_tax' || core()->getConfigData('sales.taxes.sales.display_shipping_amount') == 'both' )

@lang('marketplace::app.seller.orders.view.invoices.shipping-handling-incl-tax')

-

{{ core()->formatBasePrice(0) }}

@endif

@lang('marketplace::app.seller.orders.view.invoices.discount')

-

{{ core()->formatBasePrice($invoice->base_discount_amount) }}

@lang('marketplace::app.seller.orders.view.invoices.tax')

-

{{ core()->formatBasePrice($invoice->base_tax_amount) }}

@lang('marketplace::app.seller.orders.view.invoices.grand-total')

-

{{ core()->formatBasePrice($invoice->base_grand_total - $invoice->base_shipping_amount) }}

@endforeach