@if(isset($freelancer->user) && !empty($freelancer->user)) @if($freelancer->business_name)

{{ $freelancer->business_name }}

@endif @if($freelancer->business_email) {{ $freelancer->business_email }} @endif @if($freelancer->user->contact_number)

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

@endif @if($freelancer->business_address)

{{ $freelancer->business_address ? $freelancer->business_address : '' }}

@endif @else

Unknown Client

@endif

Invoice

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

Project : {{ $invoiceInfo->title ? 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

@if(isset($invoiceInfo->client->business_name) && !empty($invoiceInfo->client->business_name)) {{ ucfirst($invoiceInfo->client->business_name) }} @endif

@if(isset($invoiceInfo->client) && !empty($invoiceInfo->client)) {{ $invoiceInfo->client->user->email }} @endif

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

@php $count = 1; $final_tax = 0; $item_tax = 0; @endphp @foreach($invoiceInfo->invoiceItems as $item) @php $item_tax = $item->cost - ($item->quantity * $item->rate); $final_tax = $final_tax + $item_tax; @endphp @php $count = $count + 1; @endphp @endforeach
Deliverables Qty Rate Tax Cost
{{ ucfirst($item->deliverables) }} {{ $item->quantity }} {{ $currencySymbol }}{{ number_format( $item->rate, 2, '.', ',') }} {{ $currencySymbol }}{{ number_format( $item_tax, 2, '.', ',') }} {{ $currencySymbol }}{{ number_format( $item->cost, 2, '.', ',') }}

Sub Total

{{ $currencySymbol }}{{ number_format( $invoiceInfo->cost_sum_count, 2, '.', ',') }}

Amount Due

{{ $currencySymbol }}{{ number_format(($invoiceInfo->cost_sum_count - $invoiceInfo->paid_sum_count), 2, '.', ',') }}
{{--@if($invoiceInfo->is_tax && $invoiceInfo->tax_percentage != 0)

Tax

{{ $currencySymbol }}{{ number_format( $final_tax, 2, '.', ',') }}
@endif--}} @if(isset($invoiceInfo->invoicePaymentUrl)) Pay Now @endif
{{--

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

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

--}} @if($invoiceInfo->name || $invoiceInfo->iban || $invoiceInfo->account_number || $invoiceInfo->bank || $invoiceInfo->country )

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 : '-'}}

@endif
@if($invoiceInfo->additional_info)

Additional Information

{!! $invoiceInfo->additional_info ? nl2br(e($invoiceInfo->additional_info)) : '-' !!}

@endif

Powered by

2025 teem-app.com All rights reserved.