{!! nl2br($global->address) !!}
{{ $global->company_phone }}
@if($creditNoteSetting->show_gst == 'yes' && !is_null($creditNoteSetting->gst_number))
@lang('app.gstIn'): {{ $creditNoteSetting->gst_number }}
@endif
{{ $creditNoteSetting->credit_note_prefix }}
{{ $creditNote->original_cn_number }}
@if(!is_null($creditNote->project) && !is_null($creditNote->project->client))
@lang('app.billedTo'):
{{ ucwords($creditNote->project->client->name) }}
{{ ucwords($creditNote->project->client->company_name) }}
{!! nl2br($creditNote->project->client->address) !!}
{{ $creditNote->project->client->email }}
@if($creditNoteSetting->show_gst == 'yes' && !is_null($creditNote->project->client->gst_number))
@lang('app.gstIn'): {{ $creditNote->project->client->gst_number }}
@endif
@elseif(!is_null($creditNote->client))
@lang('app.billedTo'):
{{ ucwords($creditNote->client->name) }}
{{ ucwords($creditNote->client->company_name) }}
{!! nl2br($creditNote->client->address) !!}
{{ $creditNote->client->email }}
@if($creditNoteSetting->show_gst == 'yes' && !is_null($creditNote->client->gst_number))
@lang('app.gstIn'): {{ $creditNote->client->gst_number }}
@endif
@elseif(is_null($creditNote->client_id) && is_null($creditNote->project_id))
@if($creditNote->invoice->client)
@lang('app.billedTo'):
{{ ucwords($creditNote->invoice->client->name) }}
{{ ucwords($creditNote->invoice->client->company_name) }}
{!! nl2br($creditNote->invoice->client->address) !!}
{{ $creditNote->invoice->client->email }}
@if($creditNoteSetting->show_gst == 'yes' && !is_null($creditNote->invoice->client->gst_number))
@lang('app.gstIn'): {{ $creditNote->invoice->client->gst_number }}
@endif
@elseif($creditNote->invoice->project)
@lang('app.billedTo'):
{{ ucwords($creditNote->invoice->project->client->name) }}
{{ ucwords($creditNote->invoice->project->client->company_name) }}
{!! nl2br($creditNote->invoice->project->client->address) !!}
{{ $creditNote->invoice->project->client->email }}
@if($creditNoteSetting->show_gst == 'yes' && !is_null($creditNote->invoice->project->client->gst_number))
@lang('app.gstIn'): {{ $creditNote->invoice->project->client->gst_number }}
@endif
@endif
@endif
# |
@lang("modules.credit-notes.item") |
@if($invoiceSetting->hsn_sac_code_show)
@lang('modules.invoices.hsnSacCode') |
@endif
@lang("modules.credit-notes.qty") |
@lang("modules.credit-notes.unitPrice") ({!! htmlentities($creditNote->currency->currency_code) !!}) |
@lang("modules.credit-notes.price") ({!! htmlentities($creditNote->currency->currency_code) !!}) |
@foreach($creditNote->items as $item)
@if($item->type == 'item')
{{ ++$count }} |
{{ ucfirst($item->item_name) }} |
{{ $item->quantity }} |
{{ currency_formatter($item->unit_price, '') }} |
{{ currency_formatter($item->amount, '') }} |
@endif
@endforeach
@lang("modules.credit-notes.subTotal"): |
{{ currency_formatter($creditNote->sub_total, '') }} |
@if($discount != 0 && $discount != '')
@lang("modules.credit-notes.discount"): |
-{{ currency_formatter($discount, '') }} |
@endif
@foreach($taxes as $key=>$tax)
{{ strtoupper($key) }}: |
{{ currency_formatter($tax, '') }} |
@endforeach
@lang("modules.credit-notes.total"): |
{{ currency_formatter($creditNote->total, '') }} |
@lang("modules.credit-notes.creditAmountUsed"):
|
{{ currency_formatter($creditNote->creditAmountUsed(), '') }}
|
@lang("modules.credit-notes.creditAmountRemaining"):
|
{{ currency_formatter($creditNote->creditAmountRemaining(), '') }}
|
@lang('app.menu.issues') @lang('app.date'): {{ $creditNote->issue_date->format($global->date_format) }}
@if($creditNote->status == 'open')
@lang('app.dueDate'): {{ $creditNote->due_date->format($global->date_format) }}
@endif
@if($invoiceNumber)
@lang('app.invoiceNumber'): {{ $invoiceNumber->invoice_number }}
@endif
@lang('app.status'): {{ __('app.'.$creditNote->status) }}
@if(!is_null($creditNote->note))
{!! nl2br($creditNote->note) !!}
@endif
@if($creditNote->status == 'open')
{!! nl2br($creditNoteSetting->credit_note_terms) !!}
@endif
@lang('app.thanks')!