@php $path = public_path('/images/fairfirst/home/fairfirst-logo-small.jpg'); $type = pathinfo($path, PATHINFO_EXTENSION); $data = file_get_contents($path); $base64 = 'data:image/' . $type . ';base64,' . base64_encode($data); @endphp FAIRFIRST INSURANCE LIMITED
(Company No. PB 5180)
No. 33, St. Micheal's Road, Colombo 03, Sri Lanka.
Tel: 011-2428428 (Customer service)

{PAGENO}

{PAGENO}

PAYMENT INVOICE

{{----}}
Insurer’s VAT No : 1390518077000 No.MN : 1390518077000
Date of issue : {{\Carbon\Carbon::now(new DateTimeZone('Asia/Colombo'))->format('d/m/Y') }} Date : {{\Carbon\Carbon::now(new DateTimeZone('Asia/Colombo'))->format('d/m/Y') }}
Insured name : {{ strtoupper($user_data['title']) . strtoupper($user_data['surname']) .' '. strtoupper($user_data['initials']) }}
Address :{{ strtoupper($user_data['address1'])}} @if(!is_null($user_data['address2'])) , {{strtoupper($user_data['address2'])}} @endif @if(!is_null($user_data['address3'])) , {{strtoupper($user_data['address3'])}} @endif @if(!is_null($user_data['city'])) , {{strtoupper($user_data['city'])}} @endif Time : {{\Carbon\Carbon::now(new DateTimeZone('Asia/Colombo'))->format('h:i A') }}
Insured VAT No :
Cover note no / Policy no : {{$quote_data['butterfly_policy_code']}}
Type of policy : Private Car - {{ $policyTitle }}
Period of cover : From {{$start_date}} To {{ $expire . ' Midnight' }}
Registration No : {{strtoupper($quote_data['vehicle_number'])}}
Sum Insured : SLR {{number_format($quote_data['insured_value'],2)}}
Insured name : {{ strtoupper($user_data['title']) . strtoupper($user_data['surname']) .' '. strtoupper($user_data['initials']) }}
Address :{{ strtoupper($user_data['address1'])}} @if(!is_null($user_data['address2'])) , {{strtoupper($user_data['address2'])}} @endif @if(!is_null($user_data['address3'])) , {{strtoupper($user_data['address3'])}} @endif @if(!is_null($user_data['city'])) , {{strtoupper($user_data['city'])}} @endif Time : {{\Carbon\Carbon::now(new DateTimeZone('Asia/Colombo'))->format('h:i A') }}
Branch : WEB
Channel : Digital
Payment Type : Credit Card

PREMIUM BREAK DOWN

@if($quote_data['product_code'] == 'TP' || $quote_data['product_code'] == 'TL') @if($quote_data['discount_applied'] == 'Yes') @endif @endif @if($quote_data['product_code'] == 'CUST') {{--@if($added_services[0]['coverPlans']) @foreach($added_services[0]['coverPlans'] as $cp) @endforeach @endif @if($added_services[0]['extensions']) @foreach($added_services[0]['extensions'] as $ext) @endforeach @endif--}} @if($quote_data['discount_applied'] == 'Yes') @endif @endif @if($quote_data['product_code'] == 'COMP') {{-- @if($added_services[0]['extensions']) @foreach($added_services[0]['extensions'] as $ext) @endforeach @endif @if($quote_data['deductible_id'] > 0) @endif--}} @if($quote_data['discount_applied'] == 'Yes') @endif @endif
Gross Premium LKR. {{number_format($quote_data['gross_premium'],2)}}
Taxes LKR. {{number_format($quote_data['total_tax'],2)}}
Total Premium LKR. {{number_format($quote_data['total_activation_fee'],2)}}
Discount LKR. {{number_format($quote_data['discount_amount'],2)}}
Paid Amount LKR. {{number_format($quote_data['total_activation_fee'],2)}}
Cover Plans
  {{ $cp['title'] }} LKR. {{ number_format($cp['pivot']['amount'],2) }}
Extension Packs
  {{ $ext['title'] }} LKR. {{ number_format($ext['pivot']['amount'],2) }}
Gross Premium LKR. {{number_format($quote_data['gross_premium'],2)}}
Taxes LKR. {{number_format($quote_data['total_tax'],2)}}
Total Premium LKR. {{number_format($quote_data['total_activation_fee'],2)}}
Discount LKR. {{number_format($quote_data['discount_amount'],2)}}
Paid Amount LKR. {{number_format($quote_data['total_activation_fee'],2)}}
  Basic Annual Premium LKR. {{ number_format($quote_data['basic_premium'],2) }}
  Specified Natural Perils LKR. {{ number_format($quote_data['natural_disaster_amount'],2) }}
Extension Packs
  {{ $ext['title'] }} LKR. {{ number_format($ext['pivot']['amount'],2) }}
  Deductible LKR. {{ number_format($quote_data['deductible_amount'],2) }}
Gross Premium LKR. {{number_format($quote_data['gross_premium'],2)}}
Taxes LKR. {{number_format($quote_data['total_tax'],2)}}
Total Premium LKR. {{number_format($quote_data['total_activation_fee'],2)}}
Discount LKR. {{number_format($quote_data['discount_amount'],2)}}
Paid Amount LKR. {{number_format($quote_data['total_activation_fee'],2)}}