@includeIf('invoices.pdf.invoice_pdf_css')
# | @lang('modules.invoices.item') | @if ($invoiceSetting->hsn_sac_code_show)@lang('app.hsnSac') | @endif@lang('modules.invoices.qty') | @lang('modules.invoices.unitPrice') | @lang('modules.invoices.tax') | @lang('modules.invoices.price') ({!! htmlentities($invoice->currency->currency_code) !!}) |
---|---|---|---|---|---|---|
{{ ++$count }} |
{{ $item->item_name }}
@if (!is_null($item->item_summary))
{!! nl2br(pdfStripTags($item->item_summary)) !!} @endif @if ($item->invoiceItemImage)@endif |
@if ($invoiceSetting->hsn_sac_code_show)
{{ $item->hsn_sac_code ? $item->hsn_sac_code : '--' }} | @endif{{ $item->quantity }}@if($item->unit) {{ $item->unit->unit_type }}@endif |
{{ currency_format($item->unit_price, $invoice->currency_id, false) }} | {{ $item->tax_list }} | {{ currency_format($item->amount, $invoice->currency_id, false) }} |
@lang('modules.invoices.subTotal'): | {{ currency_format($invoice->sub_total, $invoice->currency_id, false) }} |
---|---|
@lang('modules.invoices.discount'): | {{ currency_format($discount, $invoice->currency_id, false) }} |
{{ $key }}: | {{ currency_format($tax, $invoice->currency_id, false) }} |
@lang('modules.invoices.total'): | {{ currency_format($invoice->total, $invoice->currency_id, false) }} |
@lang('modules.invoices.appliedCredits'): | {{ currency_format($invoice->appliedCredits(), $invoice->currency_id, false) }} |
@lang('modules.invoices.total') @lang('modules.invoices.paid'): | {{ currency_format($invoice->getPaidAmount(), $invoice->currency_id, false) }} |
@lang('modules.invoices.total') @lang('modules.invoices.due'): | {{ currency_format($invoice->amountDue(), $invoice->currency_id, false) }} |
@lang('modules.invoiceSettings.authorisedSignatory') |
{{ $field->label }}
@if( $field->type == 'text' || $field->type == 'password' || $field->type == 'number' || $field->type == 'textarea') {{$invoice->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'radio') {{ !is_null($invoice->custom_fields_data['field_'.$field->id]) ? $invoice->custom_fields_data['field_'.$field->id] : '-' }} @elseif($field->type == 'select') {{ (!is_null($invoice->custom_fields_data['field_'.$field->id]) && $invoice->custom_fields_data['field_'.$field->id] != '') ? $field->values[$invoice->custom_fields_data['field_'.$field->id]] : '-' }} @elseif($field->type == 'checkbox') {{ !is_null($invoice->custom_fields_data['field_'.$field->id]) ? $invoice->custom_fields_data['field_'.$field->id] : '-' }} @elseif($field->type == 'date') {{ !is_null($invoice->custom_fields_data['field_'.$field->id]) ? \Carbon\Carbon::parse($invoice->custom_fields_data['field_'.$field->id])->translatedFormat($invoice->company->date_format) : '--'}} @endif |
# | @lang('modules.payments.amount') | @lang('modules.invoices.paymentMethod') | @lang('modules.invoices.paidOn') |
---|---|---|---|
{{ $key + 1 }} | {{ number_format((float) $payment->amount, 2, '.', '') }} {!! $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) }} |