@php
function trim_word($word,$length){
$new_word = substr($word,0,$length);
return $new_word;
}
$common_helper = \App\Helpers\CommonHelper::class;
$customer_cnic_arr = $common_helper::getCnicArray($sell->customer->nid);
$kin_cinc_arr = $common_helper::getCnicArray($kin->nic);
$res_address = $common_helper::getTwoSubstrings($sell->customer->home_address,65,90);
$res_address_first_line = ucwords(strtolower($res_address[0]));
$res_address_second_line = ucwords(strtolower($res_address[1]));
$content = str_replace(["[COMPANY_NAME]","[BRANCH]"],
[
config('settings.company_name') ,
$sell->branch->name
],
$sell->branch->terms_and_conditions);
// dd($sell->branch->img_url);
@endphp
{{config('settings.company_name')}}
Application Form
Dear Sir/Madam,
I/We, the undesign request you to please register me/us for the booking of
{{config('settings.company_name')}} and the particulars
as mentioned below.
Applicant Category:
Overseas Pakistani
Pakistani Resident
{{$sell->product_id}}
Shop No.:____________
{{($sell->product->floor_number != null && $sell->product->floor_number != "")? $sell->product->floor_number : "-"}}
Floor:____________
{{!empty($sell->product->flat_size) ? $sell->product->flat_size : "-"}}
Size:____________
Area:__________
{{!empty($sell->product->size_in) ? $sell->product->size_in : "-"}}
Sq. ft.:______________
{{trim_word(($sell->customer->name ?? '-'),90)}}
NAME:____________________________________________________________________________________
{{trim_word(($sell->customer->father_or_husband_name ?? '-'),70)}}
FATHER'S/HUSBAND'S NAME:________________________________________________________________
{{ trim_word(($sell->customer->mailing_address ?? '-'),80)}}
POSTAL ADDRESS:_________________________________________________________________________
{{!empty($res_address_first_line) ? $res_address_first_line : "-"}}
RESIDENTIAL ADDRESS :____________________________________________________________________
{{!empty($res_address_second_line) ? $res_address_second_line : "-"}}
__________________________________________________________________________________________
{{$sell->customer->office_phone}}
PHONE OFF:______________________
{{$sell->customer->residential_phone}}
RES:______________________
{{$sell->customer->phone}}
CELL:_______________________
{{ trim_word(($sell->customer->nationality ?? '-'),20)}}
NATIONALITY:__________________________
C.N.I.C#
@foreach ($customer_cnic_arr as $key => $cnic_num)
{{ $cnic_num }}
@endforeach
{{trim_word(($kin->name ?? '-'),20)}}
NAME OF NOMINEE:______________________________________
{{trim_word(($kin->relation), 20)}}
RELATION:________________________
{{!empty($kin->phone) ? $kin->phone : "-"}}
CONTACT NO.:________________________
C.N.I.C#
@foreach ($kin_cinc_arr as $key => $cnic_num)
{{ $cnic_num }}
@endforeach
{{ trim_word(($kin->address ?? '-'),80)}}
ADDRESS:________________________________________________________________________________
DECLARATION
I have read and Understood the terms and conditions of this form which are mentioned
overleaf and agree to strictly comply with the same as well as any other updated terms
and conditions as may be notified by the developer from time to time.
Yours Faithfully
Place:______________________
{!!App\Models\Common::project_logo($sell->branch->img_url)!!}
________________________
Signature of Applicant/Allottee
{{$sell->sells_date}}
Date :______________________
{{-- terms and conditions --}}
Terms & Conditions:
{!! $content !!}
DECLARATION
I/We confirm that I/We have fully read/Understood the above terms and conditions and do hereby agree to abide
by the same.I/We further declare that I/We shall abide by the existing rules, regulations, terms and conditions,
requirement , etc. laid down by the Company.I/We shall becomes a member of association /
society which shall be formed to look after the common and general services of the project
and pay the changes / donation / fee etc. which may be decided by the association / society.
FOR OFFICE USE
Shop Price:
_______________
Corner Charges:
_______________
Total Price:
{{ $transaction->convert_money_format($sell->net_amount) }}
Discount (If Any):
_______________
Final Price:
_______________
Read, Understand & Accepted
{{trim_word(($sell->customer->name) , 20)}}
Booked By:______________________
{{$sell->sells_date}}
Date:____________________
Authorized By: {{config('settings.company_name')}}