@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 }} | {{ currency_formatter($item->unit_price,$creditNote->currency->currency_symbol) }} | {{ currency_formatter($item->amount,$creditNote->currency->currency_symbol)}} |
@lang("modules.credit-notes.subTotal") : {{ currency_formatter($creditNote->sub_total,$creditNote->currency->currency_symbol) }}
@lang("modules.credit-notes.discount") : {{ currency_formatter($discount,$creditNote->currency->currency_symbol) }}
@foreach($taxes as $key=>$tax){{ strtoupper($key) }} : {{ currency_formatter($tax,$creditNote->currency->currency_symbol) }}
@endforeach@lang('app.note'): {{ $creditNote->note }}