@extends('layouts.client-app') @section('page-title')
{{ $invoice->currency->currency_symbol.''.$invoice->recurrings->sum('price') }}
{{ $invoice->recurrings->count() }}
{{ $invoice->billing_cycle - $invoice->recurrings->count() }}
@else @endif @else @endif{!! nl2br($global->address) !!}
@endif @if($invoiceSetting->show_gst == 'yes' && !is_null($invoiceSetting->gst_number))@lang('app.gstIn') :{{ $invoiceSetting->gst_number }}
@endif@lang('app.address') : {!! nl2br($invoice->project->client->address) !!}
@if($invoice->show_shipping_address === 'yes')@lang('app.shippingAddress') : {!! nl2br($invoice->project->client->shipping_address) !!}
@endif @if($invoiceSetting->show_gst == 'yes' && !is_null($invoice->project->client->gst_number))@lang('app.gstIn') : {{ $invoice->project->client->gst_number }}
@endif @elseif(!is_null($invoice->client_id))@lang('app.address') : {!! nl2br($invoice->clientdetails->address) !!}
@if($invoice->show_shipping_address === 'yes')@lang('app.shippingAddress') : {!! nl2br($invoice->clientdetails->shipping_address) !!}
@endif @if($invoiceSetting->show_gst == 'yes' && !is_null($invoice->clientdetails->gst_number))@lang('app.gstIn') : {{ $invoice->clientdetails->gst_number }}
@endif @endif@lang('app.invoice') @lang('app.date') : {{ $invoice->issue_date->format($global->date_format) }}
@lang('app.dueDate') : {{ $invoice->due_date->format($global->date_format) }}
@if($invoice->recurring == 'yes')@lang('modules.invoices.billingFrequency') : {{ $invoice->billing_interval . ' '. ucfirst($invoice->billing_frequency) }} ({{ ucfirst($invoice->billing_cycle) }} cycles)
@endif# | @lang("modules.invoices.item") | @if($invoiceSetting->hsn_sac_code_show)@lang('modules.invoices.hsnSacCode') | @endif@lang("modules.invoices.qty") | @lang("modules.invoices.unitPrice") | @lang("modules.invoices.price") |
---|---|---|---|---|---|
{{ ++$count }} | {{ ucfirst($item->item_name) }}
@if(!is_null($item->item_summary))
{{ $item->item_summary }} @endif |
@if($invoiceSetting->hsn_sac_code_show)
{{ ($item->hsn_sac_code) ?? '--' }} | @endif{{ $item->quantity }} | {!! currency_position($item->unit_price, $invoice->currency->currency_symbol) !!} | {!! currency_position($item->amount, $invoice->currency->currency_symbol) !!} |
@lang("modules.invoices.subTotal") : {!! currency_position($invoice->sub_total,htmlentities($invoice->currency->currency_symbol)) !!}
@lang("modules.invoices.discount") : {!! htmlentities($invoice->currency->currency_symbol) !!}{{ $discount }}
@foreach($taxes as $key=>$tax){{ strtoupper($key) }} : {!! currency_position($tax, htmlentities($invoice->currency->currency_symbol)) !!}
@endforeach@lang('app.note'): {{ $invoice->note }}