@extends('layouts.client-app') @section('page-title')
{!! nl2br($global->address) !!}
@endif @if($creditNoteSetting->show_gst == 'yes' && !is_null($creditNoteSetting->gst_number))@lang('app.gstIn') :{{ $creditNoteSetting->gst_number }}
@endif{!! nl2br($creditNote->project->clientdetails->address) !!}
@if($creditNoteSetting->show_gst == 'yes' && !is_null($creditNote->project->clientdetails->gst_number))@lang('app.gstIn') : {{ $creditNote->project->clientdetails->gst_number }}
@endif @elseif(!is_null($creditNote->client_id)){!! nl2br($creditNote->clientdetails->address) !!}
@if($creditNoteSetting->show_gst == 'yes' && !is_null($creditNote->clientdetails->gst_number))@lang('app.gstIn') : {{ $creditNote->clientdetails->gst_number }}
@endif @endif @elseif(is_null($creditNote->client_id) || (is_null($creditNote->project_id) && is_null($creditNote->project->clientdetails))) @if($creditNote->invoice->client){!! nl2br($creditNote->invoice->client->client_detail->address) !!}
@if($creditNoteSetting->show_gst == 'yes' && !is_null($creditNote->invoice->client->client_detail->gst_number))@lang('app.gstIn') : {{ $creditNote->invoice->client->client_detail->gst_number }}
@endif @elseif($creditNote->invoice->project){!! nl2br($creditNote->invoice->project->clientdetails->address) !!}
@if($creditNoteSetting->show_gst == 'yes' && !is_null($creditNote->invoice->project->clientdetails->gst_number))@lang('app.gstIn') : {{ $creditNote->invoice->project->clientdetails->gst_number }}
@endif @endif @endif@lang('app.credit-note') @lang('app.date') : {{ $creditNote->issue_date->format($global->date_format) }}
@lang('app.dueDate') : {{ $creditNote->due_date->format($global->date_format) }}
@if($creditNote->recurring == 'yes')@lang('modules.creditNotes.billingFrequency') : {{ $creditNote->billing_interval . ' '. ucfirst($creditNote->billing_frequency) }} ({{ ucfirst($creditNote->billing_cycle) }} cycles)
@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") | @lang("modules.credit-notes.price") |
---|---|---|---|---|---|
{{ ++$count }} | {{ ucfirst($item->item_name) }} | @if($invoiceSetting->hsn_sac_code_show){{ ($item->hsn_sac_code) ?? '--' }} | @endif{{ $item->quantity }} | {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ $item->unit_price }} | {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ $item->amount }} |
@lang("modules.credit-notes.subTotal") : {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ $creditNote->sub_total }}
@lang("modules.credit-notes.discount") : {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ $discount }}
@foreach($taxes as $key=>$tax){{ strtoupper($key) }} : {!! htmlentities($creditNote->currency->currency_symbol) !!}{{ $tax }}
@endforeach@lang('app.note'): {{ $creditNote->note }}