{!! nl2br($global->address) !!}
{{ $global->company_phone }}
@lang('app.menu.issues') @lang('app.date'): {{ $creditNote->issue_date->format($global->date_format) }}
{{ $creditNote->cn_number }}
@if(!is_null($creditNote->project->client))
@lang('modules.credit-notes.billedTo'):
{{ ucwords($creditNote->project->client->name) }}
{{ 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
@endif
@if($creditNote->status == 'open')
Due Date: {{ $creditNote->due_date->format($global->date_format) }}
@endif @if($invoiceNumber)
@lang('app.invoiceNumber'): {{ $invoiceNumber->invoice_number }}
@endif
@lang('app.status'): {{ ucwords($creditNote->status) }}

 

 

 

@foreach($creditNote->items as $item) @if($item->type == 'item') @endif @endforeach
# @lang("modules.credit-notes.item") @lang("modules.credit-notes.qty") @lang("modules.credit-notes.unitPrice") @lang("modules.credit-notes.price")
{{ ++$count }} {{ ucfirst($item->item_name) }} {{ $item->quantity }} {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ number_format((float)$item->unit_price, 2, '.', '') }} {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ number_format((float)$item->amount, 2, '.', '') }}
@if($discount != 0 && $discount != '') @endif @foreach($taxes as $key=>$tax) @endforeach
@lang("modules.credit-notes.subTotal"): {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ number_format((float)$creditNote->sub_total, 2, '.', '') }}
@lang("modules.credit-note.discount"): -{!! htmlentities($creditNote->currency->currency_symbol) !!}{{ number_format((float)$discount, 2, '.', '') }}
{{ strtoupper($key) }}: {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ number_format((float)$tax, 2, '.', '') }}
{!! htmlentities($creditNote->currency->currency_symbol) !!}{{ number_format((float)$creditNote->total, 2, '.', '') }}
@lang("modules.credit-notes.creditAmountUsed"): {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ number_format((float)$creditNote->creditAmountUsed(), 2, '.', '') }}
@lang("modules.credit-notes.creditAmountRemaining"): {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ number_format((float)$creditNote->creditAmountRemaining(), 2, '.', '') }}

 

Here {!! htmlentities($creditNote->currency->currency_symbol) !!} refers to {!! $creditNote->currency->currency_code !!} @if(!is_null($creditNote->note))
{!! nl2br($creditNote->note) !!} @endif @if($creditNote->status == 'open')
{!! nl2br($creditNoteSetting->credit_note_terms) !!} @endif