@php $sell = $sell_details; $common_helper = \App\Helpers\CommonHelper::class; $transaction = new \App\Models\Transaction(); $customer_cnic_arr = $common_helper::getCnicArray($sell->customer->nid); $kin_cnic_arr = $common_helper::getCnicArray($kin->nic); $passport_arr = str_split($sell->customer->passport); $mailing_address = $common_helper::getTwoSubstrings($sell->customer->mailing_address,57,60); $mailing_address_first_line = $mailing_address[0]; $mailing_address_second_line = $mailing_address[1]; $kin = $sell->nominees->first(); $carbonDate = Carbon\Carbon::parse($sell->sale_date_v2); $day = $carbonDate->day; $month = $carbonDate->format('F'); $year = $carbonDate->year; @endphp Confirmation Form
{{ $sell->registration_no }}
{{ $transaction->date_format($sell->sale_date_v2) }}
{{ $sell->product->product_unique_id }}
{{ $sell->product->block->name ?? '-' }}
{{ $sell->product->flat_size }} {{ $sell->product->size_in }}
{{ $sell->product->category->name ?? '-' }}
{{ $sell->customer->name ?? '-' }}
@foreach ($customer_cnic_arr as $cnic_num ) @endforeach
{{ $cnic_num }}
{{ $sell->customer->father_or_husband_name ?? '-' }}
{{ $mailing_address_first_line }}
{{ $mailing_address_second_line }}
{{ $sell->customer->phone }}
{{ $sell->customer->residential_phone }}
{{ $sell->customer->office_phone }}
{{ $day }}
{{ $month }}
{{ $year }}