{{ ucwords($company->company_name) }}
{!! nl2br($company->address) !!}
{{ $company->company_phone }}
@lang('app.menu.issues') @lang('app.date'):
{{ $invoice->issue_date->format($company->date_format) }}
{{ $invoice->invoice_number }}
@if(!is_null($invoice->project) && !is_null($invoice->project->client))
@lang('modules.invoices.billedTo'):
{{ ucwords($invoice->project->client->name) }}
{{ ucwords($invoice->project->client->company_name) }}
@lang('app.address') :
{!! nl2br($invoice->project->client->address) !!}
@if ($invoice->show_shipping_address === 'yes')
@lang('app.shippingAddress') :
{!! nl2br($invoice->project->client->shipping_address) !!}
@endif
{{ $invoice->project->client->email }}
@if($invoiceSetting->show_gst == 'yes' && !is_null($invoice->project->client) && !is_null($invoice->project->client->gst_number))
@lang('app.gstIn'): {{ $invoice->project->client->gst_number }}
@endif
@elseif(!is_null($invoice->client_id))
@lang('modules.invoices.billedTo'):
{{ ucwords($invoice->withoutGlobalScopeCompanyClient->name) }}
@if($invoice->clientdetails)
{{ ucwords($invoice->clientdetails->company_name) }}
@lang('app.address') :
{!! nl2br($invoice->clientdetails->address) !!}
@if ($invoice->show_shipping_address === 'yes')
@lang('app.shippingAddress') :
{!! nl2br($invoice->clientdetails->shipping_address) !!}
@endif
@endif
{{ $invoice->withoutGlobalScopeCompanyClient->email }}
@if($invoiceSetting->show_gst == 'yes' && !is_null($invoice->clientdetails) && !is_null($invoice->clientdetails->gst_number))
@lang('app.gstIn'): {{ $invoice->clientdetails->gst_number }}
@endif
@endif
@if($invoice->status == 'unpaid')
@lang('app.dueDate'): {{ $invoice->due_date->format($company->date_format) }}
@endif
@lang('app.status'): {{ __('app.'.$invoice->status) }}
@if($creditNote)
@lang('app.credit-note'): {{ $creditNote->cn_number }}
@endif
| # |
@lang("modules.invoices.item") |
@if($invoiceSetting->hsn_sac_code_show)
@lang('modules.invoices.hsnSacCode') |
@endif
@lang("modules.invoices.qty") |
@lang("modules.invoices.unitPrice") ({!! htmlentities($invoice->currency->currency_code) !!}) |
@lang("modules.invoices.price") ({!! htmlentities($invoice->currency->currency_code) !!}) |
@foreach($invoice->items as $item)
@if($item->type == 'item')
| {{ ++$count }} |
{{ ucfirst($item->item_name) }} |
@if($invoiceSetting->hsn_sac_code_show)
{{ $item->hsn_sac_code ?? '--' }} |
@endif
{{ $item->quantity }} |
{{ number_format((float)$item->unit_price, 2, '.', '') }} |
{{ number_format((float)$item->amount, 2, '.', '') }} |
@endif
@endforeach
| @lang("modules.invoices.subTotal"): |
{{ number_format((float)$invoice->sub_total, 2, '.', '') }} |
@if($discount != 0 && $discount != '')
| @lang("modules.invoices.discount"): |
-{{ number_format((float)$discount, 2, '.', '') }} |
@endif
@foreach($taxes as $key=>$tax)
| {{ strtoupper($key) }}: |
{{ number_format((float)$tax, 2, '.', '') }} |
@endforeach
| {{ number_format((float)$invoice->total, 2, '.', '') }} |
@if ($invoice->credit_notes()->count() > 0)
|
@lang('modules.invoices.appliedCredits'): |
{{ number_format((float)$invoice->appliedCredits(), 2, '.', '') }}
|
@endif
| @lang("modules.invoices.total") @lang("modules.invoices.paid"): |
{{ number_format((float)$invoice->amountPaid(), 2, '.', '') }} |
| @lang("modules.invoices.total") @lang("modules.invoices.due"): |
{{ number_format((float)$invoice->amountDue(), 2, '.', '') }} |
@if(!is_null($invoice->note))
{!! nl2br($invoice->note) !!}
@endif
{!! nl2br($invoiceSetting->invoice_terms) !!}