@extends('layouts.app') @section('page-title')
{{ currency_formatter($invoice->recurrings->sum('total'),$invoice->currency->currency_symbol) }}
{{ $invoice->recurrings->count() }}
{{ $invoice->billing_cycle - $invoice->recurrings->count() }}
@else @endif @else @endif@if($invoice->recurrings->count() > 0) {{ $invoice->recurrings[$invoice->recurrings->count()-1]->created_at->format($global->date_format) }} @else -- @endif
{{ $invoice->getUpcomingDate() ?? '--' }}
{!! 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_formatter($item->unit_price, $invoice->currency->currency_symbol) !!} | {!! currency_formatter($item->amount, $invoice->currency->currency_symbol) !!} |
@lang("modules.invoices.subTotal") : {!! currency_formatter($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_formatter($tax, htmlentities($invoice->currency->currency_symbol)) !!}
@endforeach@lang('app.note'): {{ $invoice->note }}