{{ $invoice->invoice_number }}
@if($creditNote)@lang('app.credit-note'): {{ $creditNote->cn_number }}
@endif
@lang('modules.invoices.invoiceDate'): {{ $invoice->issue_date->format($global->date_format) }}
@if($invoice->status === 'unpaid')
@lang('app.dueDate'): {{ $invoice->due_date->format($global->date_format) }}
@endif
@lang('app.status'): {{ ucwords($invoice->status) }}
| # | @lang("modules.invoices.item") | @if($invoiceSetting->hsn_sac_code_show)@lang("app.hsnSac") | @endif@lang("modules.invoices.qty") | @lang("modules.invoices.unitPrice") ({!! htmlentities($invoice->currency->currency_code) !!}) | @lang("modules.invoices.price") ({!! htmlentities($invoice->currency->currency_code) !!}) |
|---|---|---|---|---|---|
| {{ ++$count }} | {{ ucfirst($item->item_name) }}@if(!is_null($item->item_summary)){{ $item->item_summary }} @endif |
@if($invoiceSetting->hsn_sac_code_show)
{{ $item->hsn_sac_code ? $item->hsn_sac_code : '--' }} |
@endif
{{ $item->quantity }} |
{{ number_format((float)$item->unit_price, 2, '.', '') }} |
{{ number_format((float)$item->amount, 2, '.', '') }} |
| @lang("modules.invoices.subTotal") | {{ number_format((float)$invoice->sub_total, 2, '.', '') }} | ||||
| @lang("modules.invoices.discount") | {{ number_format((float)$discount, 2, '.', '') }} | ||||
| {{ strtoupper($key) }} | {{ number_format((float)$tax, 2, '.', '') }} | ||||
| @lang("modules.invoices.total") | {{ number_format((float)$invoice->total, 2, '.', '') }} | ||||
| @lang('modules.invoices.appliedCredits') | {{ number_format((float)$invoice->appliedCredits(), 2, '.', '') }} | ||||
| @lang("modules.invoices.total") @lang("modules.invoices.paid") | {{ number_format((float)$invoice->getPaidAmount(), 2, '.', '') }} | ||||
| @lang("modules.invoices.total") @lang("modules.invoices.due") | {{ number_format((float)$invoice->amountDue(), 2, '.', '') }} | ||||
@if(!is_null($invoice->note))
{!! nl2br($invoice->note) !!}
@endif
{!! nl2br($invoiceSetting->invoice_terms) !!}
@lang('app.menu.payments')
| # | @lang("modules.invoices.price") | @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->format($global->date_format) }} |