
| PD Initiated Date | : | '.$pd_master_details[0]['createdon'].' | '; echo '||||
| PD Visit Date | : | '.$pd_master_details[0]['pd_visit_date'].' | ||||
| PD Report Date | : | '.$pd_master_details[0]['pd_report_generated_date'].' | ||||
| PD Initiated by | : | '.$pd_master_details[0]['branch_name'].' Branch | ||||
| Loan Application ID | : | '.$pd_master_details[0]['lender_applicant_id'].' | ||||
| Product | : | '.$pd_master_details[0]['product_name'].' | ||||
| Customer Segment | : | '.(explode('-',$pd_master_details[0]['customer_segment_name'])[0]).' | ||||
| Loan Amount (As Per PD Initiation) | : | ₹' .' '. MYUTIL::customIndianNumberFormat($pd_master_details[0]['loan_amount']). ' ('. MYUTIL::numtowords($pd_master_details[0]['loan_amount']) .') |
| Loan Amount (As Per Loan Applicants during PD) | : | ₹' .' '. MYUTIL::customIndianNumberFormat($loan_form['loan_amount']). ' ('. MYUTIL::numtowords($loan_form['loan_amount']) .') |
Disclaimer: '. $header_lender_disclaimer['disclaimer'] .'
'; } echo 'Registered / Corporate Office: SineEdge Consulting Private Limited. A-211, Pioneer Urban Square, Golf Course Extension Road, Sector 62, Gurgaon, Haryana - 122002
'; ?> $individual) { if($individual['is_person_met'] == true) { //array_push($person_met_images); $temp_person_met = array(); $applicant_name = $individual['applicant_name']; //echo 'Person(s) Met:
'; echo ''.$person_met_details.'
'; //if($display_for_person_met != "" || $display_for_person_met != null){ echo 'Loan Applicants:
| Name | Age (Yrs/Mns) | Qualification / Type of Entity | Relationships |
|---|---|---|---|
| '.$title.' '.$applicant_name.$kyc_data.' | '.$individual['age'].' | '.$education_qualification.' | ';
$company_relationship_data = null;
//print_r($general_form['company_with_relationships']);
foreach($general_form['company_with_relationships'] as $company_with_relationship)
{
//print_r($company_with_relationship);
if($individual['pd_co_applicant_id'] == $company_with_relationship['applicant_name'])
{
//FInd Company Name from JSON
//echo "ONCE";
$company_relationship_data = ($company_with_relationship['company_relationship_master'] .' '.$company_with_relationship['company_name']);
$company_relationship_data.=' '; } } $personal_relationship_data = null; foreach($general_form['persons_with_relationships'] as $persons_with_relationship) { if(($individual['pd_co_applicant_id'] == $persons_with_relationship['pd_co_applicant_id'] || !strcasecmp($applicant_name,$persons_with_relationship['applicant_name']))&& isset($persons_with_relationship['relationship'])) { if( isset($persons_with_relationship['relation_to_master'])) { $RSNA = $persons_with_relationship['relation_to_master']; if(isset($persons_with_relationship['relationship_master'])) { $personal_relationship_data .= $persons_with_relationship['relationship_master'] .' of '. $RSNA; $personal_relationship_data.=' '; } } } } $company_relationship_data .= $personal_relationship_data; echo substr_replace($company_relationship_data, '', strrpos($company_relationship_data, ' '),strlen($company_relationship_data)); echo " |
| '. $ind_company['company_name'] .' | '. $ind_company['business_years']. (isset($ind_company['business_month']) ? ' . ' . $ind_company['business_month']: null) .' | '. ( $ind_company['business_entity_type'] == 1 ? $ind_company['business_entity_type_other'] : $business_entity_type_master[ $ind_company['business_entity_type'] ] ).' | Not Applicable |
PD LOCATION
Address at which PD was initiated: '.$pd_address['address'].', '.$pd_address['city_master'].', '.$pd_address['state_master'].' - '.$pincode.'.';
echo '
Address at which PD Visit actually done: '.$pd_alternative_address['alternative_address'].', '.$pd_alternative_address['city_master'].', '.$pd_alternative_address['state_master'].' - '.$alter_native_pincode.'.';
echo '
Reason for change in PD address:'.$pd_alternative_address['reason_for_alternative_address'];
}
else
{
echo 'PD Location Address : '.$pd_address['address'].', '.$pd_address['city_master'].', '.$pd_address['state_master'].' - '.$pincode.'.';
}
if(!empty($distances['distance'])){
echo '
Distance to PD location : '.$distances['distance'];
}
echo '
GPS Coordinates of location where PD Visit was done : '.$pd_master_details[0]['start_location'];
echo '
';
?>
$com_value)
{
// if($com_value['image_key'] == 'face_mark'){ array_push($faceimage_url,$com_value['doc_url']);}
if($com_value['pd_document_title'] == 'satellite')
{
$satellite_url = $com_value['doc_url'];break;
}
}
}
?>
| PD Location Approach | |
|---|---|
|
|
|
| '.$pd_location_approach_img_date; ?> |
Location Summary
'; echo 'The PD visit was done at '. $address_type. 'Address Form - Type of Address of the loan applicants. '; //echo 'The '.$address_type.'Address Form - Type of Address is '.$property_owner_type.'Business Assest Form - Owner of the Property and the business has been in operation from here for the last '.$yrs_being_run.'Business Assest Form - Business running Yrs in this premise .'; echo 'LOAN DETAILS:
During the PD visit, person met provide the following information about loan applied for:'; $is_current_product_bl = $pd_master_details[0]['prod_catagory'] == "BL" ? true: false; $is_current_product_lab = $pd_master_details[0]['prod_catagory'] == "LAP" ? true: false; $is_current_product_laep = $pd_master_details[0]['prod_catagory'] == "LAEP" ? true: false; // echo $pd_master_details[0]['product_abbr']; // echo '-bl-'. $is_current_product_bl; // echo '-lap-'.$is_current_product_lab; // die(); $loan_table_dispaly_rows = array(); $loan_table_dispaly_rows[] = array('particulars' => 'Total Loan Amount applied for','details' => "₹"." ".$loan_amount.' ('.MYUTIL::numtowords($loan_form['loan_amount']).')'); if($is_current_product_bl || $is_current_product_laep) { $to_dispaly = !strcasecmp($loan_form['is_there_total_fund'], 'yes disclose') ? ('Disclosed '."₹"." ".MYUTIL::customIndianNumberFormat($loan_form['fund_amt']).' ('.MYUTIL::numtowords($loan_form['fund_amt']).')'):'Not Disclosed'; $loan_table_dispaly_rows[] = array('particulars' => 'Total Fund Requirement','details' => $to_dispaly); } $loan_table_dispaly_rows[] = array('particulars' => 'Loan Tenure expected','details' => $loan_form['loan_tenure'] != "" ? $loan_form['loan_tenure'].' Months' : 'Not provided'); $end_use = ''; $to_remove_for = false; foreach($loan_form['end_use_master'] as $enduse) { if(strpos(strval($enduse), 'Others') === false) { $end_use.= $enduse.' and ';} else { $to_remove_for = true; $end_use.=$loan_form['end_use_other'].' and'; } } $end_use = substr_replace($end_use, '', strrpos($end_use, 'and'),strlen($end_use)); //echo substr($end_use,0,3); if(strcasecmp(substr($end_use,0,3),'for')) { if(!(count($loan_form['end_use_master']) == 1 && $to_remove_for)) { $end_use = 'For '.$end_use; } } $loan_table_dispaly_rows[] = array('particulars' => 'Loan Purpose','details' => $end_use); if(strcasecmp($loan_form['is_transfer'],'no')) { $loan_table_dispaly_rows[] = array('particulars' => 'Balance Transfer Amount','details' => "₹"." ".MYUTIL::customIndianNumberFormat($loan_form['balance_transfer_amount']).' ('.MYUTIL::numtowords($loan_form['balance_transfer_amount']).')'); $loan_table_dispaly_rows[] = array('particulars' => 'Top Up Amount applied for','details' => "₹"." ".MYUTIL::customIndianNumberFormat($loan_form['topup_amount']).($loan_form['topup_amount'] ? (' ('.MYUTIL::numtowords($loan_form['topup_amount']).')') : '') ); if($loan_form['end_use_topup_master']) { $loan_table_dispaly_rows[] = array('particulars' => 'End Use of Topup','details' => ( strcasecmp('others',$loan_form['end_use_topup_master'])) ? $loan_form['end_use_topup_master'] : $loan_form['other_end_use_topup'] ); } $loan_table_dispaly_rows[] = array('particulars' => 'Balance Transfer from','details' => $loan_form['lender'] == 1 ? $loan_form['other_bt_lender']: $loan_form['lender_master']); } else{ //echo 'sdn-'.((!$is_current_product_bl) && !$is_current_product_lab); die(); if((!$is_current_product_bl) && !$is_current_product_lab && !$is_current_product_laep) { $loan_table_dispaly_rows[] = array('particulars' => 'Amount of Own Contribution','details' =>"₹"." ".MYUTIL::customIndianNumberFormat($loan_form['own_contribution']).' ('.MYUTIL::numtowords($loan_form['own_contribution']).')' ); $source_of_own_contribution = ''; foreach($loan_form['source_of_own_contribution_master'] as $own_source) { if(!strcasecmp($own_source, 'others')) { $source_of_own_contribution.=$loan_form['other_source'].' and ';}else{ $source_of_own_contribution.= $own_source.' and '; } } $source_of_own_contribution = substr_replace($source_of_own_contribution, '', strrpos($source_of_own_contribution, ' and '),strlen($source_of_own_contribution)); $loan_table_dispaly_rows[] = array('particulars' => 'Source of Own Contribution','details' => $source_of_own_contribution); } } $loan_table_dispaly_rows[] = array('particulars' => 'EMI Comfortable Paying','details' => $rupee_symbol." ".MYUTIL::customIndianNumberFormat($loan_form['emi_level']).' ('.MYUTIL::numtowords($loan_form['emi_level']).')' ); if(!$is_current_product_bl && !$is_current_product_laep) { if(isset($loan_form['property_type_master']) && $loan_form['property_type_master'] != "") { $loan_table_dispaly_rows[] = array('particulars' => 'Type of Property Being Mortgaged','details' => substr_count($loan_form['property_type_master'],'Others') ? $loan_form['property_type_others'] : $loan_form['property_type_master']); $owners_list = null;foreach($loan_form['owners_list_master'] as $owner){ $owners_list.=$owner.' and '; } $owners_list = substr_replace($owners_list, '', strrpos($owners_list, 'and'),strlen($owners_list)); if($owners_list == '') { if(isset($loan_form['owner_name_group'][0]['owner_name'])) { $owners_list = $loan_form['owner_name_group'][0]['owner_name']['name']; } } $loan_table_dispaly_rows[] = array('particulars' => 'Name of the current / proposed owner(s) of the Property being Mortgaged','details' => $owners_list); $loan_table_dispaly_rows[] = array('particulars' => 'Status of Construction','details' => $loan_form['construction_status_master']); $loan_table_dispaly_rows[] = array('particulars' => 'Estimated Market Value of the property being mortgaged','details' => ($loan_form['emv_per_customer'] != "" ? $rupee_symbol." ".MYUTIL::customIndianNumberFormat($loan_form['emv_per_customer']).' ('.MYUTIL::numtowords($loan_form['emv_per_customer']).')' : 'Not Provided')); } } if(isset($loan_form['property_seller']) && $loan_form['property_seller'] != '') { $loan_table_dispaly_rows[] = array('particulars' => 'Current Owner/Seller of the property','details' => $loan_form['property_seller'] ); } if(isset($loan_form['address']) && $loan_form['address'] != '') { $address_of_owner_seller_property = $loan_form['address'] . (isset($loan_form['city_master']) ? ', '.$loan_form['city_master'] : '') . (isset($loan_form['state_master']) ? ', '.$loan_form['state_master'] : '') . (isset($loan_form['pincode_master']) ? ', '.$loan_form['pincode_master'] : ''); $loan_table_dispaly_rows[] = array('particulars' => 'Address of the property','details' => $address_of_owner_seller_property ); } //print_r($loan_table_dispaly_rows); ?>| S.No | Loan Particulars | Loan Particular Details |
|---|---|---|
| '.($row_key + 1)." | ".$row['particulars']." | ".$row['details'] ." |
Rental Income Details
'; foreach ($rental_data as $key => $value) { echo 'Multistorey Details:
'; echo '| Floor Name | No of Units | Rent same for all Units | Unit Details | Total Rent Amount |
|---|---|---|---|---|
| '. $multistorey_value['floor_name'] .' | '. $multistorey_value['no_units_in_floor'] .' | '. $multistorey_value['same_rent'] .' | '. $multistorey_value['unit_details'] .' | '. $multistorey_value['total_floor_rent'] .' |
| Total | '. $rupee_symbol.' '.$value['unit_details']['multistorey_over_all_total'].' | |||
Unit Details:
'; foreach ($value['unit_details']['property_core'] as $u_key => $unit_value) { echo '| Sr.No | Asset Type | Asset Description | Asset Owned By | Approx Market Value(Rs) | Age of the Assest | Loan Again Assest |
|---|---|---|---|---|---|---|
| '. $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($paRow['approximate_market_value']) : ( ($paRow['approximate_market_value'] != '' && $paRow['approximate_market_value'] != 0 ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($paRow['approximate_market_value']): 'Not Provided' )); ?> |
As per Loan applicant, he does not have any other assets.
'.$other_assest_common_remrks.''; } ?> $ibRow) { $individualBankRow = json_decode($ibRow['processed_json'],true); $ind_banking_common_remarks = $individualBankRow['banking_form_remark']; if(isset($individualBankRow['bank_info_available_business']) && $individualBankRow['bank_info_available_business'] == 1){ $is_personal_banking_available = 1; if(count($individualBankRow['business_details'])>0){ $getBuinessEachValues=BANKINGFORM::getNewBuinessBankingDetails($individualBankRow['business_details'],$pd_master_details[0]['pd_id']); $bankingResult = array_merge($bankingResult,$getBuinessEachValues); } } if(isset($individualBankRow['bank_info_available']) && $individualBankRow['bank_info_available'] == 1) { $is_personal_banking_available = 1; if(count($individualBankRow['banking_details'])>0){ $getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']); $bankingResult = array_merge($bankingResult,$getIndividualEachValues); } } } if(count($bankingResult)>0){ $filteredPersonalBankingResult = array();$x=0; for($y = 0; $y < count($bankingResult); $y++){ // if($bankingResult[$y]['str_flag'] !== "buiness-company" ){ $filteredPersonalBankingResult[$x] = $bankingResult[$y]; $x++; // } if($bankingResult[$y]['same_ac_used_for'] == "Business"){ $stmt_flag++; } } } ?>Below bank account details were shared :
| Sr.No | Account Holder's Name | Bank Name | Account Type | OD / CC Limit | Vintage |
|---|---|---|---|---|---|
The personal banking is done through same account used for business banking
'; } if($ind_banking_common_remarks != ''){echo ''.$ind_banking_common_remarks.'
'; } if(count($filteredPersonalBankingResult)==0){ echo 'As per loan applicant, he does not have any personal account
';}?> $iRow) { $otherIcomeRow = json_decode($iRow['processed_json'],true); $other_source_income_common_remarks = $otherIcomeRow['otherincome_remarks']; if(strtoupper($otherIcomeRow['other_income'])=='YES' && count($otherIcomeRow['income_details'])>0){ $is_other_income_available = 1; $otherIncomeResult=OTHERINCOMEFORM::getIncomeDetails($otherIcomeRow['income_details'],$pd_master_details[0]['pd_id']); } } ?>| Sr.No | Income Source | Earned by | Amount(Rs) |
|---|---|---|---|
As per the loan applicants, they do not have any other source of Income.
'. $other_source_income_common_remarks.''; } ?> $fRow) { $familyRow = json_decode($fRow['processed_json'],true); //print_r($familyRow);die(); $other_family_form_common_remarks = $familyRow['family_details_form_remark']; if(array_key_exists('family_details',$familyRow) && count($familyRow['family_details'])>0){ $familyResult=OTHERFAMILYFORM::getFamilyDetails($familyRow['family_details'],$pd_master_details[0]['pd_id']); } } ?>' . $intro_text . '
';echo '' . $residence_text . '
'; ?>The table below provides details of other family members of
| Sr.No | Name | Relation | Age | Earning Status | Occupation Details |
|---|---|---|---|---|---|
Other Family Members is not available.
'.$other_family_form_common_remarks.''; } ?> $elRow) { $otherLoanRow = json_decode($elRow['processed_json'],true); //print_r($otherLoanRow);die(); $existing_loan_form_common_remarks = $otherLoanRow['currentloan_remarks']; $total_no_of_data = 0; if(strtoupper($otherLoanRow['existing_loan'])=='YES' && count($otherLoanRow['loan_details'])>0){ $is_existing_loans_available = 1; $total_no_of_data = count($otherLoanRow['loan_details']); $existLoanResult=FINANCIALFORM::getOtherLoanDetails($otherLoanRow['loan_details'],$pd_master_details[0]['pd_id']); } } ?>| Particulars | Loan $pre_loan_no"; } ?>
|---|
As per loan applicant he does not have any existing loan obligations.
'.$existing_loan_form_common_remarks.'';} ?> $nrcRow) { $neighbourRefRow = json_decode($nrcRow['processed_json'],true); //print_r($applicants_details); //print_r($neighbourRefRow);die(); $neighbourhood_form_common_remarks = $neighbourRefRow['neighbour_reference_remark']; if(strcasecmp($neighbourRefRow['neighbourhood_status'],'could not verify')){ $pd_offiecer_status_about_neighbor = $neighbourRefRow['neighbourhood_status']; if(count($neighbourRefRow['neighbourhood_list'])>0){ $company_name = MYUTIL::findCompanyName($all_company_details,1,1); $existNeighRefCheck=NEIGHBOURREFERENCECHECKFORM::getNeighbourhoodDetails($company_name,$neighbourRefRow['neighbourhood_list'],$pd_master_details[0],$applicants_details);//applicants_details comes from controller } } // if(&& count($neighbourRefRow['referencecheck_list'])>0){ // $existNeighRefCheck=NEIGHBOURREFERENCECHECKFORM::getReferenceDetails($neighbourRefRow['referencecheck_list'],$pd_master_details[0]); // } } ?>Status of the check: could not verify.
'. $neighbourhood_form_common_remarks.'
';} ?> '; echo ''. $credit_officier_specific_queries['common_remarks'].'
';} echo ''.$final_remark_data['market_intelligence'].'
'; echo '|
Polite
|
Rude
|
Others*
|
|
Well Suited
|
Fairly Suited
|
Not Suited
|
|
Positive
|
Refer to Credit
|
Negative
|
Others*
|
PD officer recommendation is '.$fo_diplay.'.
';?>The following key points were considered while arriving at the aforementioned status.
"; foreach($final_remark_data['recommendation_positive'] as $pos){ echo "'.$pd_officer_final_remark.'
' ?>'. $footer_lender_disclaimer['disclaimer'] .'
'; } else { $footer_lender_disclaimer = MYUTIL::dispatchDisclaimer($lender_disclaimer,3); echo '