@includeIf('invoices.pdf.invoice_pdf_css') @if ($invoiceSetting->locale == 'th') @endif @if ($invoiceSetting->hsn_sac_code_show) @endif @foreach ($invoice->items->sortBy('field_order') as $item) @if ($item->type == 'item') @if ($invoiceSetting->hsn_sac_code_show) @endif {{-- @if ($item->unit)
{{ $item->unit->unit_type }}@endif --}} @if ($item->item_summary != '' || $item->invoiceItemImage)
hsn_sac_code_show ? '6' : '5' }}>
@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 }})
{{ $item->item_name }} {{ $item->hsn_sac_code ?: '--' }}{{ $item->quantity }} {{ currency_format($item->unit_price, $invoice->currency_id, false) }} {{ $item->tax_list }} {{ currency_format($item->amount, $invoice->currency_id, false) }}
{{-- DOMPDF HACK FOR RENDER IN TABLE --}}
{!! nl2br(pdfStripTags($item->item_summary)) !!} @if ($item->invoiceItemImage)

@endif
{{-- DOMPDF HACK FOR RENDER IN TABLE --}} @endif @endif @endforeach @if ( $invoiceSetting->authorised_signatory && $invoiceSetting->authorised_signatory_signature && $invoice->status == 'paid') @endif @if ( !( $invoiceSetting->authorised_signatory && $invoiceSetting->authorised_signatory_signature && $invoice->status == 'paid' )) @endif @includeIf('invoices.payment_details') @if ($invoice->note) {{--
--}} @endif @if (isset($taxes) && $invoiceSetting->tax_calculation_msg == 1) @endif
LINKIT. - BANKING INFORMATION:
{!! nl2br($invoiceSetting->invoice_terms) !!}
{{-- @if (isset($invoiceSetting->other_info))


{!! nl2br($invoiceSetting->other_info) !!}

@endif --}} {{-- Custom fields data --}} {{-- @if (isset($fields) && count($fields) > 0)

@lang('modules.projects.otherInfo')

@foreach ($fields as $field) @endforeach @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_format($payment->amount, $invoice->currency_id, false) }} {{ $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->translatedFormat($company->date_format) }}
@lang('messages.noRecordFound')
@endif