{{ mb_ucwords(company()->company_name) }}
{!! nl2br(default_address()->address) !!}
{{ company()->company_phone }}
@lang('app.menu.issues') @lang('app.date'):
{{ $creditNote->issue_date->translatedFormat(company()->date_format) }}
{{ $creditNote->cn_number }}
@if (!is_null($creditNote->project) && !is_null($creditNote->project->client))
@lang('modules.credit-notes.billedTo'):
{{ mb_ucwords($creditNote->project->client->name) }}
{{ mb_ucwords($creditNote->project->clientDetails->company_name) }}
{!! nl2br($creditNote->project->clientDetails->address) !!}
{{ $creditNote->project->client->email }}
@if ($creditNoteSetting->show_gst == 'yes' && !is_null($creditNote->project->clientDetails->gst_number))
@lang('app.gstIn'): {{ $creditNote->project->clientDetails->gst_number }}
@endif
@if ($invoiceSetting->show_project == 1 && isset($creditNote->project))
@lang('modules.invoices.projectName'):
{{ $creditNote->project->project_name }}
@endif
@endif
@if ($invoiceNumber)
@lang('app.invoiceNumber'): {{ $invoiceNumber->invoice_number }}
@endif
@lang('app.status'): {{ mb_ucwords($creditNote->status) }}
| # |
@lang('modules.credit-notes.item') |
@if ($invoiceSetting->hsn_sac_code_show)
@lang('app.hsnSac') |
@endif
{{ isset($creditNote->unit) ? $creditNote->unit->unit_type : 'Qty\hrs' }} |
@lang('modules.credit-notes.unitPrice') ({!! htmlentities($creditNote->currency->currency_code) !!}) |
@lang('modules.invoices.tax') |
@lang('modules.credit-notes.price') ({!! htmlentities($creditNote->currency->currency_code) !!}) |
@foreach ($creditNote->items as $item)
@if ($item->type == 'item')
| {{ ++$count }} |
{{ ucfirst($item->item_name) }}
@if (!is_null($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, '.', '') }} |
{{ strtoupper($item->tax_list) }} |
{{ number_format((float) $item->amount, 2, '.', '') }} |
@endif
@endforeach
| @lang('modules.credit-notes.subTotal'): |
{{ number_format((float) $creditNote->sub_total, 2, '.', '') }} |
@if ($discount != 0 && $discount != '')
| @lang('modules.credit-note.discount'): |
-{{ number_format((float) $discount, 2, '.', '') }} |
@endif
@foreach ($taxes as $key => $tax)
| {{ mb_strtoupper($key) }}: |
{{ number_format((float) $tax, 2, '.', '') }} |
@endforeach
| @lang('modules.invoices.total'): |
{{ number_format((float) $creditNote->total, 2, '.', '') }} |
|
@lang('modules.credit-notes.creditAmountUsed'): |
{{ number_format((float) $creditNote->creditAmountUsed(), 2, '.', '') }} |
|
@lang('app.adjustment') @lang('app.amount'): |
{{ number_format((float) $creditNote->adjustment_amount, 2, '.', '') }} |
|
@lang('modules.credit-notes.creditAmountRemaining'): |
{{ number_format((float) $creditNote->creditAmountRemaining(), 2, '.', '') }} |
@if (!is_null($creditNote->note))
{!! nl2br($creditNote->note) !!}
@endif
@if ($creditNote->status == 'open')
{!! nl2br($creditNoteSetting->credit_note_terms) !!}
@endif