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

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

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

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

@endif @else Unknown Client @endif

Proposal

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

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

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

Proposal Date : {{ \Carbon\Carbon::parse($proposal->date)->format('d-m-Y')}}

Project Description

{!! nl2br(ucfirst($proposal->description)) !!}

Other Comments

{!! $proposal->comments ? nl2br(ucfirst($proposal->comments)) : '-' !!}

Refernce Files

@if(count($proposal->attachments)) @foreach($proposal->attachments as $attachment) @endforeach @else - @endif
{{ $attachment->original_name }}

{{ number_format(($attachment->size / 1024), 2) }}KB

Links to Inspiration

@if(count($proposal->links)) @foreach($proposal->links as $link) @endforeach @else - @endif
{{ strlen($link->link) > 50 ? substr($link->link, 0, 35).'...' : $link->link }}
@if($proposal->quote)

Quote

@php $totalAmount = 0; $taxAmount = 0; $count = 1; @endphp @foreach($proposal->quote->delivarable as $delivarable) @php $count = $count + 1; $totalAmount += $delivarable->cost; @endphp @endforeach @if($proposal->quote->is_tax == 1 && $proposal->quote->tax_percentage != 0) @php $taxAmount = ($totalAmount * $proposal->quote->tax_percentage) / 100; @endphp @endif
Deliverables {{ $proposal->quote->type == 'fixed' ? 'Qty' : 'Hrs' }} Rate Cost
{{ $count }} {{ ucfirst($delivarable->deliverables) }} {{ $delivarable->quantity }} {{ $currencySymbol }}{{ number_format($delivarable->rate, 2) }} {{ $currencySymbol }}{{ number_format($delivarable->cost, 2) }}
Tax({{ $proposal->quote->tax_percentage }}%) {{ $currencySymbol }}{{ number_format($taxAmount, 2) }}

Invoice Terms

Payment to be made to

Name

IBAN

Account Number

Bank Name

Country

:{{ $proposal->quote->name ? $proposal->quote->name : '-'}}

:{{ $proposal->quote->iban ? $proposal->quote->iban : '-'}}

:{{ $proposal->quote->account_number ? $proposal->quote->account_number : '-'}}

:{{ $proposal->quote->bank ? $proposal->quote->bank : '-'}}

:{{ $proposal->quote->country ? $proposal->quote->country : '-'}}

Total Amount {{ $currencySymbol }}{{ number_format($totalAmount, 2) }}

Sub Total {{ $currencySymbol }}{{ number_format(($totalAmount + $taxAmount), 2) }}

@endif @if(count($serviceData))

Terms & Conditions

@foreach($serviceData as $services)

{{ ucfirst(preg_replace("/\([^)]+\)/","", $services['title'])) }}

@foreach($services['conditions'] as $service)

{!! $service['description'] !!}

@endforeach @endforeach
@endif

Powered by

2025 Teem-app.com. All rights reserved.