{!! nl2br($global->address) !!}
{{ $global->company_phone }}
@if($invoiceSetting->show_gst == 'yes' && !is_null($invoiceSetting->gst_number))
@lang('app.gstIn'): {{ $invoiceSetting->gst_number }}
@endif
@if($invoice->status == 'unpaid') @endif
Issue Date: {{ $invoice->issue_date->format("dS M Y") }}
Due Date: {{ $invoice->due_date->format("dS M Y") }}
{{ $invoiceSetting->invoice_prefix }} #{{ ($invoice->id < 10) ? "0".$invoice->id : $invoice->id }}
@if(!is_null($invoice->project->client))
Billed To:
{{ ucwords($invoice->project->client->name) }}
@if(!is_null($invoice->project->client->client_details))
{{ ucwords($invoice->project->client->client_details->company_name) }}
{!! nl2br($invoice->project->client->client_details->address) !!}
{{ $invoice->project->client->email }}
@if($invoiceSetting->show_gst == 'yes' && !is_null($invoice->project->client->client_details->gst_number))
@lang('app.gstIn'): {{ $invoice->project->client->client_details->gst_number }}
@endif @endif
@endif
@foreach($invoice->items as $item) @if($item->type == 'item') @endif @endforeach
# @lang("modules.invoices.item") @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
{{ $item->quantity }} {!! htmlentities($invoice->currency->currency_symbol) !!}{{ number_format((float)$item->unit_price, 2, '.', '') }} {!! htmlentities($invoice->currency->currency_symbol) !!}{{ number_format((float)$item->amount, 2, '.', '') }}
@if($discount != 0 && $discount != '') @endif @foreach($taxes as $key=>$tax) @endforeach
@lang("modules.invoices.subTotal"): {!! htmlentities($invoice->currency->currency_symbol) !!}{{ number_format((float)$invoice->sub_total, 2, '.', '') }}
@lang("modules.invoices.discount"): -{!! htmlentities($invoice->currency->currency_symbol) !!}{{ number_format((float)$discount, 2, '.', '') }}
{{ strtoupper($key) }}: {!! htmlentities($invoice->currency->currency_symbol) !!}{{ number_format((float)$tax, 2, '.', '') }}

@lang("modules.invoices.total"):

{!! htmlentities($invoice->currency->currency_symbol) !!}{{ number_format((float)$invoice->total, 2, '.', '') }}

Here {!! htmlentities($invoice->currency->currency_symbol) !!} refers to {!! $invoice->currency->currency_code !!}
@if(!is_null($invoice->note))
{!! nl2br($invoice->note) !!}
@endif @if($invoice->status == 'unpaid')
{!! nl2br($invoiceSetting->invoice_terms) !!}
@endif