@if(isset($invoiceInfo->client) && !empty($invoiceInfo->client)) @if($invoiceInfo->client->address)

{{ $invoiceInfo->client->address ? $invoiceInfo->client->address : '' }}

@endif @if($invoiceInfo->client->user->email) {{ $invoiceInfo->client->user->email }} @endif @if($invoiceInfo->client->user->contact_number)

{{ $invoiceInfo->client->user->country_code ? '+'.$invoiceInfo->client->user->country_code : '' }} {{ $invoiceInfo->client->user->contact_number }}

@endif @else Unknown Client @endif

Invoice

Invoice : {{ str_pad($invoiceInfo->invoice_id,4,'0',STR_PAD_LEFT) }}

Project : {{ ucfirst($invoiceInfo->title) }}

Invoice To : @if(isset($invoiceInfo->client) && !empty($invoiceInfo->client)) {{ ucfirst($invoiceInfo->client->user->first_name). ' ' .ucfirst($invoiceInfo->client->user->last_name) }} @else Unknown Client @endif

Invoice Date : {{ date('d-m-Y', strtotime($invoiceInfo->date)) }}

@php $count = 1; @endphp @foreach($invoiceInfo->invoiceItems as $item) @php $count = $count + 1; @endphp @endforeach @php $taxAmount = 0; @endphp @if($invoiceInfo->is_tax && $invoiceInfo->tax_percentage != 0) @php $taxAmount = ($invoiceInfo->cost_sum_count * $invoiceInfo->tax_percentage) / 100; @endphp @endif
Deliverables Qty Rate Cost
{{ $count }} {{ ucfirst($item->deliverables) }} {{ number_format( $item->quantity, 2, '.', ',') }} {{ $currencySymbol }}{{ number_format( $item->rate, 2, '.', ',') }} {{ $currencySymbol }}{{ number_format( $item->cost, 2, '.', ',') }}
Tax({{ $invoiceInfo->tax_percentage }}%) {{ $currencySymbol }}{{ number_format( $taxAmount, 2, '.', ',') }}

Payment Information

Payment to be made to

Name

IBAN

Account Number

Bank Name

Country

:{{ $invoiceInfo->name ? $invoiceInfo->name : '-'}}

:{{ $invoiceInfo->iban ? $invoiceInfo->iban : '-'}}

:{{ $invoiceInfo->account_number ? $invoiceInfo->account_number : '-'}}

:{{ $invoiceInfo->bank ? $invoiceInfo->bank : '-'}}

:{{ $invoiceInfo->country ? $invoiceInfo->country : '-'}}

Sub Total {{ $currencySymbol }}{{ number_format( ($invoiceInfo->cost_sum_count + $taxAmount), 2, '.', ',') }}

Amount Due {{ $currencySymbol }}{{ number_format((($invoiceInfo->cost_sum_count + $taxAmount) - $invoiceInfo->paid_sum_count), 2, '.', ',') }}


Powered by

2019 Teem.sa. All rights reserved.