NF

{{ __t('invoice') }}

{{__t('invoice_no')}} : {{ $invoice->is_from_estimate ? 'EST-' :'' }}{{$invoice->invoice_number}}
{{__t('date')}} : {{ $invoice->date }}
{{__t('due_date')}} : {{ $invoice->due_date }}
{{__t('vat')}} : {{ config('settings.application.vat_number') }}
{{--
--}}

{{__t('from')}}

@if($invoice->createdBy)

{{$invoice->createdBy->full_name}}

@if($invoice->createdBy->profile) {{__t('contact')}}: {{$invoice->createdBy->profile->contact}}
{{__t('address')}}: {{$invoice->createdBy->profile->address}} @endif @endif

{{__t('to')}}

@if($invoice->client)

{{$invoice->client->full_name}}

@if($invoice->client->profile) {{__t('contact')}}: {{$invoice->client->profile->contact}}
{{__t('address')}}: {{$invoice->client->profile->address}}
{{__t('vat')}}: {{$invoice->client->profile->vat_number}} @endif @endif
{{--
--}}
@foreach($invoice->invoiceDetails as $item) @if($item->unit->booking) @endif @endforeach
Unit Qty {{__t('unit_price')}} {{__t('tax')}} {{__t('total')}}
{{$item->unit->booking->unit_name}}
Floor:{!! $item->unit->booking->unit_floor !!}
{{$item->quantity}} {{number_with_currency_symbol($item->price)}} @if($item->tax) {{$item->tax->value . '%'}} @else N/A @endif {{number_with_currency_symbol( (($item->quantity * $item->price)+($item->quantity * $item->price) * ($item->tax ? ($item->tax->value /100) : 0 )) )}}
{{__t('sub_total')}} : {{number_with_currency_symbol($invoice->sub_total)}}
{{__t('tax')}} : {{number_with_currency_symbol($invoice->totalTax)}}
{{__t('discount')}} : @if($invoice->discount_type == 'percentage') {{$invoice->discount}} % @endif {{number_with_currency_symbol($invoice->discount_amount)}}
Processing fee : {{number_with_currency_symbol($invoice->processing_fee)}}
{{__t('total')}} : {{number_with_currency_symbol($invoice->total)}}
{{__t('paid')}} : {{number_with_currency_symbol($invoice->received_amount)}}
{{__t('due_amount')}} : {{number_with_currency_symbol($invoice->due_amount)}}
@if($invoice->notes)
{{__t('notes')}}

{!! $invoice->notes !!}

@endif @if($invoice->terms)
{{__t('terms')}}

{!! $invoice->terms !!}

@endif @if($invoice->invoice_note)

{!! $invoice->invoice_note !!}

@endif