@lang('modules.invoices.billedTo'):

{{ ucwords($invoice->project->client->name) }}

{!! nl2br($invoice->project->client->client[0]->address) !!}
@lang('modules.invoices.generatedBy'):

{{ ucwords($global->company_name) }}

@if(!is_null($settings))
{!! nl2br($global->address) !!}
{{ $global->company_phone }}
@endif

@lang('app.invoice') #{{ $invoice->invoice_number }}

Date: {{ $invoice->issue_date->format($global->date_format) }}
@foreach($invoice->items as $item) @endforeach
# @lang('modules.invoices.item') @lang('modules.invoices.qty') @lang('modules.invoices.unitPrice') @lang('modules.invoices.price')
{{ ++$count }}

{{ ucfirst($item->item_name) }}

{{ $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) !!}{{ $invoice->discount }}
      @lang('modules.invoices.tax') {{ $invoice->tax_percent }}%
@lang('modules.invoices.total') {!! currency_position($invoice->total, htmlentities($invoice->currency->currency_symbol)) !!}

 


@lang('app.note'): Here {!! htmlentities($invoice->currency->currency_symbol) !!} refers to {!! $invoice->currency->currency_code !!}