{{ ucwords($global->company_name) }}

{!! 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))
@if (!is_null($creditNote->project) && !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
@endif

@if($invoiceSetting->hsn_sac_code_show) @endif @foreach ($creditNote->items as $item) @if ($item->type == 'item') @if($invoiceSetting->hsn_sac_code_show) @endif @endif @endforeach
# @lang("modules.credit-notes.item")@lang("app.hsnSac")@lang("modules.credit-notes.qty") @lang("modules.credit-notes.unitPrice") @lang("modules.invoices.tax") @lang("modules.credit-notes.price") ({!! htmlentities($creditNote->currency->currency_code) !!})
{{ ++$count }}
{{ ucfirst($item->item_name) }}
@if (!is_null($item->item_summary))

{!! nl2br(strip_tags($item->item_summary)) !!}

@endif @if ($item->creditNoteItemImage)

@endif
{{ $item->hsn_sac_code ? $item->hsn_sac_code : '--' }}{{ $item->quantity }} {{ currency_formatter($item->unit_price, '') }} {{ $item->tax_list }} {{ currency_formatter($item->amount, '') }}
@if ($discount != 0 && $discount != '') @endif @foreach ($taxes as $key => $tax) @endforeach
@lang("modules.credit-notes.subTotal"): {{ currency_formatter($creditNote->sub_total, '') }}
@lang("modules.credit-notes.discount"): -{{ currency_formatter($discount, '') }}
{{ strtoupper($key) }}: {{ currency_formatter($tax, '') }}
@lang("modules.credit-notes.total"): {{ currency_formatter($creditNote->total, '') }}
@lang("modules.credit-notes.creditAmountUsed"): {{ currency_formatter($creditNote->creditAmountUsed(), '') }}
@lang('app.adjustment') @lang('app.amount'): {{ currency_formatter($creditNote->adjustment_amount, '') }}
@lang("modules.credit-notes.creditAmountRemaining"): {{ currency_formatter($creditNote->creditAmountRemaining(), '') }}

@lang('app.menu.issues') @lang('app.date'): {{ $creditNote->issue_date->format($global->date_format) }}
@if ($invoiceNumber)
@lang('app.invoiceNumber'): {{ $invoiceNumber->invoice_number }}
@endif
@lang('app.status'): {{ ucwords($creditNote->status) }}
@if (!is_null($creditNote->note))
{!! nl2br($creditNote->note) !!} @endif @if ($creditNote->status == 'open')
{!! nl2br($creditNoteSetting->credit_note_terms) !!} @endif