@if (invoice_setting()->locale == 'ru') @else @endif @if ($invoiceSetting->hsn_sac_code_show) @endif @foreach ($invoice->items as $item) @if ($item->type == 'item') @if ($invoiceSetting->hsn_sac_code_show) @endif @if ($item->item_summary != '' || $item->invoiceItemImage) {{-- DOMPDF HACK FOR RENDER IN TABLE --}}
@lang('app.description')@lang('app.hsnSac')@lang('modules.invoices.qty') @lang('modules.invoices.unitPrice') @lang('modules.invoices.tax') @lang('modules.invoices.amount') ({{ $invoice->currency->currency_code }})
{{ ucfirst($item->item_name) }} {{ $item->hsn_sac_code ? $item->hsn_sac_code : '--' }}{{ $item->quantity }} {{ currency_formatter($item->unit_price, '') }} {{ $item->tax_list }} {{ currency_formatter($item->amount, '') }}
{!! nl2br(strip_tags($item->item_summary, ['p', 'b', 'strong', 'a'])) !!} @if ($item->invoiceItemImage)

@endif
{{-- DOMPDF HACK FOR RENDER IN TABLE --}} @endif @endif @endforeach @if ($invoice->note != '') @endif @if (isset($taxes) && invoice_setting()->tax_calculation_msg == 1) @endif @if (count($payments) > 0)

@lang('app.menu.payments') ({{ $invoice->invoice_number }})

@forelse($payments as $key => $payment) @empty @endforelse
# @lang('modules.invoices.price') @lang('modules.invoices.paymentMethod') @lang('modules.invoices.paidOn')
{{ $key + 1 }} {{ currency_formatter($payment->amount, '') }} {{ $invoice->currency->currency_code }} @php $method = '--'; if (!is_null($payment->offline_method_id)) { $method = $payment->offlineMethod->name; } elseif (isset($payment->gateway)) { $method = $payment->gateway; } @endphp {{ $method }} {{ $payment->paid_on->format(global_setting()->date_format) }}
@lang('messages.noRecordFound')
@endif