₹"; ?>
"; echo "
"; echo "

PERSONAL DISCUSSION REPORT

"; echo "
for the case of
"; echo "

".$main_applicant_name."

"; echo "
"; echo "



"; ?> "; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; ?>
PD Initiated Date ".$pd_master_details[0]['pd_date_of_initiation']."
PD Vist 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 Applied For :

"; echo '
As Per PD Initiation ' .' '. MYUTIL::customIndianNumberFormat($pd_master_details[0]['loan_amount']). '
('. MYUTIL::numtowords($pd_master_details[0]['loan_amount']) .')
As Per Loan Applicants during PD ' .' '. MYUTIL::customIndianNumberFormat($loan_form['loan_amount']). '
('. MYUTIL::numtowords($loan_form['loan_amount']) .')
'; //echo "
"; echo "

"; ?> $individual) { if($individual['is_person_met'] == true) { //array_push($person_met_images); $temp_person_met = array(); $applicant_name = array_key_exists('pd_co_applicant_id_master',$individual) ? $individual['pd_co_applicant_id_master'] : "Not Available" ; //echo '
'.$individual['applicant_title_name_master'] .' '. $applicant_name.'
' ; $temp_person_met['name'] = $individual['applicant_title_name_master'] .' '. $applicant_name; $temp_person_met['photo'] = isset($individual['is_person_met_pic']) ? $individual['is_person_met_pic'] : null; $temp_person_met['id_proof'] = isset($individual['is_person_met_id_proof']) ? $individual['is_person_met_id_proof'] : null; $company_relationship_data = null; foreach($general_form['company_with_relationships'] as $company_with_relationship) { if($individual['pd_co_applicant_id'] == $company_with_relationship['applicant_name']) { //FInd Company Name from JSON $company_relationship_data .= $company_with_relationship['company_relationship_master'].' '.$company_with_relationship['company_name']; //$company_relationship_data.='
and

'; $company_relationship_data.=', '; } } //$temp_person_met['name'] = //print_r($general_form['persons_with_relationships']);die(); $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'] && isset($persons_with_relationship['relationship'])) { $RSNA = isset($persons_with_relationship['relation_to_master']) ? $persons_with_relationship['relation_to_master'] : " Could Not Find"; if(isset($persons_with_relationship['relationship_master'])) { $personal_relationship_data .= $persons_with_relationship['relationship_master'] .' Of '. $RSNA; //$personal_relationship_data.='
and

'; $personal_relationship_data.=', '; } } } $company_relationship_data .= $personal_relationship_data; $temp_person_met['relations'] = $company_relationship_data; array_push($person_met_data,$temp_person_met); //echo $company_relationship_data; //echo substr_replace($company_relationship_data, '

', strrpos($company_relationship_data, '
and

'),strlen($company_relationship_data)); //echo '
'; } } //print_r($person_met_data); // echo ''; // echo ''; // echo ''; // foreach($person_met_data as $person) // { // echo ''; // } // echo ''; // echo '
Name Photo ID Proof Relationships
'.$person['name'].''.'NA'.''.'NA'.''.$person['relations'].'
'; // echo '


'; echo '

Person(s) Met:

'; echo '
'; foreach($person_met_data as $pk => $person) { echo '

'.$person['name'].'

'; echo '

'.$person['relations'].'

'; echo '

'; if($person['photo']) { echo ''; } echo '          '; if($person['id_proof']) { echo ''; } echo '

'; echo count($person_met_data) != ($pk+1)? '
':''; } echo '
'; echo '
'; ?> Person(s) Met: '; // foreach($person_met_data as $person) // {?>

Loan Applicants:

$individual) { if($individual['is_applicant'] == true) { $education_qualification = $individual['qualification_master']; $education_qualification = $individual['course_name'] != "" || $individual['course_name'] != null ? $education_qualification.'
('.$individual['course_name'].')' : $education_qualification; $applicant_name = array_key_exists('pd_co_applicant_id_master',$individual) ? $individual['pd_co_applicant_id_master'] : " Could Not Find" ; //echo $applicant_name.'**************************'; echo '"; } } ?>
Name Age
(Yrs)
Qualification Relationships
'.$individual['applicant_title_name_master'].' '.$applicant_name.''.$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.='
and

'; } } //echo '*********'.$company_relationship_data.'*********'; //echo strrpos($company_relationship_data, ''); // $company_relationship_data = substr_replace($company_relationship_data, '', strrpos($company_relationship_data, '
and

'),strlen($company_relationship_data)); // echo $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'])) { $RSNA = isset($persons_with_relationship['relation_to_master']) ? $persons_with_relationship['relation_to_master'] : " Could Not Find"; if(isset($persons_with_relationship['relationship_master'])) { $personal_relationship_data .= $persons_with_relationship['relationship_master'] .' of '. $RSNA; $personal_relationship_data.='
and

'; } } } $company_relationship_data .= $personal_relationship_data; echo substr_replace($company_relationship_data, '', strrpos($company_relationship_data, '
and

'),strlen($company_relationship_data)); echo "
PD Score Summary"; ?>
Actual Score Max Score Score %
General Section Score
Business Section Score
Final Remarks Score
Final PD Score

"; echo '

'; } else { echo "Score Chart Not Generated"; } //######################### CHART ########################### if(isset($dsc_cards['base64_dsc_business'])) { echo "

"; echo '

'; } else { echo "Score Chart Not Generated"; } if(isset($dsc_cards['base64_dsc_general'])) { echo "

"; echo '

'; } else { echo "Score Chart Not Generated"; } echo "
"; //######################### CHART ########################### } ?>

PD LOCATION

PD Location Address : '.$pd_address['address'].' ,'.$pd_address['city_master'].' ,'.$pd_address['state_master'].' - '.$pincode; echo '

GPS Coordinates of location where PD Visit was done : '.$pd_master_details[0]['start_location']; echo '

'; ?> alt="Satellite Image of location of Where PD was Done" style="width:500px;height:200px;border-color:#0191ed" />



Location Summary

'well suited','fairly_suited' => 'fairly suited','not_suited' => 'not suited'); $address_type = $pd_address['address_type_master']; $estimated_area = $pd_address['estimated_area'].' '; $estimated_area .= $pd_address['uom_others'] != "" || $pd_address['uom_others'] != null ? $pd_address['uom_others'] : $pd_address['uom_master']; $locality = $pd_address['locality_master']; $locality = preg_match("/^[aeiouAEIOU]/U", $locality) ? 'an '.$locality : 'a '.$locality; $comment_locality_master = preg_match("/^[aeiouAEIOU]/U", $pd_address['comment_locality_master']) ? 'an '.$pd_address['comment_locality_master'] : 'a '.$pd_address['comment_locality_master']; $property_owner_type = $business_assets_details['business_assets_for_address'][0]['business_ownership_type']; if($property_owner_type == 'rented') { $property_owner_type ='Rented (Rent Rs'.$business_assets_details['business_assets_for_address'][0]['business_monthly_rented_amt'].' Per Month)'; }else{$property_owner_type = 'Owned'; } $yrs_being_run = $business_assets_details['business_assets_for_address'][0]['business_years'].' Years'; if($business_assets_details['business_assets_for_address'][0]['business_month'] != ""){ $yrs_being_run.= ' and '.$business_assets_details['business_assets_for_address'][0]['business_month'].' Months';} echo '

'; echo "The PD visit was done at ". $address_type. " of the loan applicants. "; echo "The ".$address_type." is ".$property_owner_type." and the business has been in operation from here for the last $yrs_being_run."; echo "

The ".$address_type." is located in ".$locality." and the estimated area of the office is ".$estimated_area." ."; echo "

The PD location was ". $pd_address['pd_location_master'].". " . "As Per PD Offcier, the ".$address_type ." is situated in ".$comment_locality_master ." Locality."; echo "

The PD officer also made the following observations:" ; echo "

"; if($address_form['address_form_remark']) { echo $address_form['address_form_remark'];} echo "

"; echo "
"; //die(); ?>

LOAN DETAILS:

'Total Loan Amount applied for','details' => ""." ".$loan_amount.' ('.MYUTIL::numtowords($loan_form['loan_amount']).')'); $loan_table_dispaly_rows[] = array('particulars' => 'Loan Tenure expected','details' => $loan_form['loan_tenure'].' Months'); $end_use = 'For '; foreach($loan_form['end_use_master'] as $enduse) { if(strpos(strval($enduse), 'Others') === false) { $end_use.= $enduse.' and ';}else{ $end_use.=$loan_form['end_use_other'].' and'; } } $end_use = substr_replace($end_use, '', strrpos($end_use, 'and'),strlen($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']).' ('.MYUTIL::numtowords($loan_form['topup_amount']).')'); $loan_table_dispaly_rows[] = array('particulars' => 'End Use Topup','details' => ($loan_form['end_use_topup_master'])); $loan_table_dispaly_rows[] = array('particulars' => 'Balance Transfer from','details' => $loan_form['lender_master']); } else{ $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 = null; foreach($loan_form['source_of_own_contribution_master'] as $own_source) { if(strpos(strval($own_source), 'Others') === false) { $source_of_own_contribution.= $own_source.' and ';}else{ $source_of_own_contribution.=$loan_form['other_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']).')' ); $loan_table_dispaly_rows[] = array('particulars' => 'Type of Property Being Mortgaged','details' => $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)); $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' => $rupee_symbol." ".MYUTIL::customIndianNumberFormat($loan_form['emv_per_customer']).' ('.MYUTIL::numtowords($loan_form['emv_per_customer']).')'); //print_r($loan_table_dispaly_rows);die(); ?>

$row) { echo '"; } ?>
S.No Loan Particulars Loan Particular Details
'.($row_key + 1)." ".$row['particulars']." ".$row['details'] ."

".$loan_form['loandetails_remarks']; ?> 0) { for($business_count = 0;$business_count < $total_no_of_business; $business_count++) { // $temp_show = null; // if($temp_show == null) // { ?>
0) { $bindEachResult['company_employees'].= 'and '.$businessRow['employees_temporary'].' temporary employee(s) with company.'; }else{ $bindEachResult['company_employees'].= ' and no temporary employess with company'; } if(isset($businessRow['officer_total']) && $businessRow['officer_total'] > 0) { $emp = $businessRow['officer_total'] > 1 ? 'employees' : 'employee'; $bindEachResult['officer_visit_company_employees']='At the time of PD visit, the officer sighted '.$businessRow['officer_total'] .' '.$emp.' at the business premises.'; } else{ $bindEachResult['officer_visit_company_employees']='At the time of PD visit, PD officer could not able to see any of employees at the business premises.'; } //this is documents visited $getDocuments=array(); if(array_key_exists('shop_eat_act_cert',$businessRow) && strtoupper($businessRow['shop_eat_act_cert'])=='YES'){ array_push($getDocuments,array('name'=>'Shop/Est act Certificate.','img' => isset($businessRow['shop_eat_act_cert_pic']) ? $businessRow['shop_eat_act_cert_pic'] : '')); } if(array_key_exists('gst_Regn_cert',$businessRow) && strtoupper($businessRow['gst_Regn_cert'])=='YES'){ array_push($getDocuments,array('name' => 'GST Registration.','img' => isset($businessRow['gst_Regn_cert_pic']) ? $businessRow['gst_Regn_cert_pic'] : '' )); } if(array_key_exists('pf_regn',$businessRow) && strtoupper($businessRow['pf_regn'])=='YES'){ array_push($getDocuments,array('name' => 'PF Registration.','img' => isset($businessRow['pf_regn_pic']) ? $businessRow['pf_regn_pic'] : '')); } if(array_key_exists('esic_regn',$businessRow) && strtoupper($businessRow['esic_regn'])=='YES'){ array_push($getDocuments,array('name' => 'ESIC Registration.','img' => isset($businessRow['esic_regn_pic']) ? $businessRow['esic_regn_pic'] : '')); } if(array_key_exists('export_import_cert',$businessRow) && strtoupper($businessRow['export_import_cert'])=='YES'){ array_push($getDocuments,array('name' => 'Export/Import Certificate.','img' => isset($businessRow['export_import_cert_pic']) ? $businessRow['export_import_cert_pic'] : '')); } if(array_key_exists('factory_cert',$businessRow) && strtoupper($businessRow['factory_cert'])=='YES'){ array_push($getDocuments,array('name' => 'Factory Certificate.','img' => isset($businessRow['factory_cert_pic']) ? $businessRow['factory_cert_pic'] : '')); } if(strtoupper($businessRow['other_documents'])=='YES' && array_key_exists('documents',$businessRow)){ foreach($businessRow['documents'] as $docValue){ array_push($getDocuments,array('name' => $docValue['document'].'.', 'img' => '')); } } $bindEachResult['visit_documents']=$getDocuments; array_push($businessResult,$bindEachResult); //print_r($businessResult['visit_documents']);die(); ?>

BUSINESS INFORMATION:

$fetchRow){ ?>


Company / Firm Name :

Business Entity Type :

Date of Incorporation :

Business Vintage :

Name Share Holding No.of Years in Current Business Total Work Experience Previous Experience Started Business
0){ ?>

Other Family Members involved in business :

Name Individual Relationship Related to Relationship to Company / Firm Started Business (Yes / No)
0){ ?>

Type of Business Activity : Manufacturing

Key Products Area of Operations Area of Sale / Service Area where Max Sale / Service done

Brief of the Business / Service Model

Product / Service Process Brief
0){ ?>

Type of Business Activity : Retail Trading

Key Products Area of Operations Area of Sale / Service Area where Max Sale / Service done

Brief of the Business / Service Model

Product / Service Process Brief
0){ ?>

Type of Business Activity : Service Provider

Services Area of Operations Area of Sale / Service Area where Max Sale / Service done

Brief of the Business / Service Model

Product / Service Process Brief
0){ ?>

Type of Business Activity : Wholesale Trading

Key Products Area of Operations Area of Sale / Service Area where Max Sale / Service done

Brief of the Business / Service Model

Product / Service Process Brief
0){ ?>

Other activity details are as under :

Other Business Activity

The below documents were sighted during the visit :

0){ $bindBusinessAsset['details']=ASSETSFORM::getBusinessAssetsDetails($businessAssetRow['business_assets_details']); } array_push($businessAssetResult,$bindBusinessAsset); // print_r($businessAssetResult);die(); ?> 0){ ?>

Assets used in Buisness

$baRow){ if(isset($baRow['business_assets_mode_master'])) { $rent_amount = isset($baRow['rent_amount']) ? $rupee_symbol." ".MYUTIL::customIndianNumberFormat((double)$baRow['rent_amount']): '0.00'; ?>
S.No Asset Type Asset Description Ownership Monthly Rent

Business asset is not available.

↑ /'; $baRow = $pd_processed_forms[14][$business_count]; $businessFinancialRow = json_decode($baRow['processed_json'],true); //print_r($businessFinancialRow);die(); // statementdate_per_financial if(strtoupper($businessFinancialRow['is_financial_statements'])=='YES' && count($businessFinancialRow['date_per_financial'])>0){ $bindBusinessFinancial["company_name"] =MYUTIL::findCompanyName($all_company_details,$businessFinancialRow['company_id'],1); //$bindBusinessFinancial["company_name"] .= count($businessFinancialRow['date_per_financial'])>1 ? ' provided with last '.count($businessFinancialRow['date_per_financial']).' years of financial statements and the snapshot is as below :' : ' we were provided with last '.count($businessFinancialRow['date_per_financial']).' year of financial statements and the snapshot is as below :'; $bindBusinessFinancial["years_data_provided"] = count($businessFinancialRow['date_per_financial']); $bindBusinessFinancial['statements']=FINANCIALFORM::getBusinessFinancialDetails($businessFinancialRow['date_per_financial']); } else { $bindBusinessFinancial["company_name"] =MYUTIL::findCompanyName($all_company_details,$businessFinancialRow['company_id'],1); //$bindBusinessFinancial["company_name"] .=' not provided the financial statements :'; $bindBusinessFinancial['statements']=array(); } // customer if(strtoupper($businessFinancialRow['is_financial_customer'])!='YES' && (!isset($businessFinancialRow['estimated_value']))){ $bindBusinessFinancial["financial_customer"] ="As per Loan Applicant(s) met, the financials are as below :"; $bindBusinessFinancial['customer_statements']=array(); $bindBusinessFinancial['customer_statements_header']=array(); } else if(strtoupper($businessFinancialRow['is_financial_customer'])!='YES' && count($businessFinancialRow['estimated_value'])>0){ $bindBusinessFinancial["financial_customer"] ="As per Loan Applicant(s) met, the financials are as below :"; $bindBusinessFinancial['customer_statements']=FINANCIALFORM::getBusinessCustomerFinancialDetails($businessFinancialRow['estimated_value']); $bindBusinessFinancial['customer_statements_header']=FINANCIALFORM::getBusinessCustomerHeader($businessFinancialRow['estimated_value']); } else { $bindBusinessFinancial["financial_customer"] ="As per Loan Applicant(s) met, the financials are same as financial statement."; $bindBusinessFinancial['customer_statements']=array(); $bindBusinessFinancial['customer_statements_header']=array(); } $bindBusinessFinancial['working_capital_receive'] = $businessFinancialRow['receive_the_money_in_days']; $bindBusinessFinancial['working_capital_pay'] = $businessFinancialRow['pay_the_money_in_days']; $bindBusinessFinancial['working_capital_unsold_stock'] = $businessFinancialRow['unsold_stock_lies_in_days'] != "" || $businessFinancialRow['unsold_stock_lies_in_days'] != null ? $businessFinancialRow['unsold_stock_lies_in_days'] : 'Data Not Provided'; $bindBusinessFinancial['is_working_capital_facility'] = $businessFinancialRow['is_there_working_capital_available']; foreach($businessFinancialRow['select_working_capital_facilities_availed'] as $k => $v) { switch($v['id']) { case 1: $businessFinancialRow['select_working_capital_facilities_availed'][$k]['name'] = $businessFinancialRow['other_reason_for_working_capital_facilities_availed']; $businessFinancialRow['select_working_capital_facilities_availed'][$k]['details'] = $businessFinancialRow['reason_for_working_capital_facilities_availed']; break; case 2: $businessFinancialRow['select_working_capital_facilities_availed'][$k]['details'] = $businessFinancialRow['bank_guarantee']; break; case 3: $businessFinancialRow['select_working_capital_facilities_availed'][$k]['details'] = $businessFinancialRow['cash_credit_limit']; break; case 4: $businessFinancialRow['select_working_capital_facilities_availed'][$k]['details'] = $businessFinancialRow['factoring']; break; case 5: $businessFinancialRow['select_working_capital_facilities_availed'][$k]['details'] = $businessFinancialRow['factoring']; break; case 6: $businessFinancialRow['select_working_capital_facilities_availed'][$k]['details'] = $businessFinancialRow['letter_of_credit']; break; case 7: $businessFinancialRow['select_working_capital_facilities_availed'][$k]['details'] = $businessFinancialRow['od_limit']; break; } } $bindBusinessFinancial['working_capital_facilites'] = $businessFinancialRow['select_working_capital_facilities_availed']; //print_r($bindBusinessFinancial['select_working_capital_facilities_availed']);die(); //FINANCIALFORM::getAvailableFacilities($businessFinancialRow[-'"working_capital_facilities_availed']); array_push($businessFinancialResult,$bindBusinessFinancial); ?> 0){ ?>

Financial Information

Company / Firm Name : " . $iterateFinance['company_name']; ?>

No of Years of Financial Statements provided : " . $iterateFinance['years_data_provided']; ?>

Snapshot of Financials as per Books of Account Provided : "; ?>

0){ ?> "."FY ".$bfRow['financial_year']."";}?> '.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($bfRow['financial_sales_revenue']).'';}?> '.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($bfRow['financial_net_profit']).'';}else{ echo ''; } }?>'.$bfRow['financial_margin_of_profit'].' %';}else { echo ''; } }?>= 0 ? '' : ''; }else { echo '';}?> = 0 ? '' :''; }else {echo '';} }?> = 0 ? '' : ''; }else { echo '';}}?>
Particulars
Sales / Revenue (Rs)
Net Profit / (Net Loss) (Rs) ('.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($bfRow['financial_net_loss']).')
Net Profit or (Net Loss) to Sales % ('.$bfRow['financial_margin_of_loss'].' %)
% () in Sales over PY '.$bfRow['sale_variation'].' %('.$bfRow['sale_variation'].' %)NA
% () in Net Profit over PY '.$bfRow['profit_variation'].' %('.$bfRow['profit_variation'].')NA
% () in Net Profit % over PY '.$bfRow['financial_profit_to_sale_variation'].' %('.$bfRow['financial_profit_to_sale_variation'].' %)NA

0){ //print_r($iterateFinance['customer_statements']);die(); ?>
Particulars Range provided Final Considered
From To
Sales / Revenue (Rs)
Net Profit or (Net Loss) to Sales % >
Net Profit / (Net Loss) (Rs) >>>> >
Sales / Revenue (Rs)
Net Profit or (Net Loss) to Sales (Rs) >
Net Profit / (Net Loss)% >>>> >

Working Capital Cycle:

S.No Particulars Days
1 Debtor Days
2 Creditor Days
3 Stock Days

Working Capital Facilities:

$facility){ echo ''; }?>
S.No Facility Type Facility Details
'.(++$fk) .''.$facility['name'].' '.$facility['details'].'
The Loan Applicants have not availed any Working Capital Facilities from any financial institution

";} ?>

Financial information is not available.

0){ $getEachValues['is_od_cc'] = null; foreach($businessBankRow['banking_details'] as $bd){ if($bd['account_type']== 4 || $bd['account_type']== 3){ $getEachValues['is_od_cc'] = true; } } $getEachValues['bankDetails']=BANKINGFORM::getBusinessBankingDetails($businessBankRow['banking_details']); $bankingResult = array_merge($bankingResult,$getEachValues); } ?> 0){ ?>

Business Banking:

Account Name Bank Name Account Type Account Vintage OD/CC Limit(Rs) Main Business AC
1Product / Service '; $client_second_row = '2Contact Person '; $client_third_row = '3Mobile Number '; $client_fourth_row = '4Landline No'; $client_fifth_row = '5Payment Terms'; $client_sixth_row = '6Payment Mode'; $client_seventh_row = '7No of Days Credit'; // this is for manufacturing if(array_key_exists('manufacturing_details',$clientRow)){ $done_on_credit += $clientRow['manufacturing_details'][0]['main_raw_materials_total_payments_percent_on_credit']; foreach($clientRow['manufacturing_details'] as $manuRow){ if(isset($manuRow['main_raw_materials'])){ $to_no_of_clients += count($manuRow['main_raw_materials']); foreach($manuRow['main_raw_materials'] as $main_raw_material_key => $main_raw_material) { //print_r($main_raw_material); $client_first_row .= ''.$main_raw_material['manufacturing_product_name'].''; $client_second_row .= $main_raw_material['person_title_name_master'] ? '' . $main_raw_material['person_title_name_master']: '' . ''; $client_second_row .= $main_raw_material['manufacturing_contact_person_name'] ; $client_second_row .= isset($main_raw_material['person_designation']) && $main_raw_material['person_designation']== 1 ? ' '.$main_raw_material['other_person_designation'] : ' ';// $client_second_row .= isset($main_raw_material['person_designation_master']) ? $main_raw_material['person_designation_master'] : '' ; $client_second_row .= ' '.$main_raw_material['manufacturing_client_name'].''; $client_third_row .= ''. $main_raw_material['manufacturing_contact_person_mobile_number'] .''; $client_fourth_row .= $main_raw_material['person_stdcode'] && $main_raw_material['person_landline'] ? ''. $main_raw_material['person_stdcode'].' '.$main_raw_material['person_landline'].'' : ''.'Not Provided'.''; $client_fifth_row .= $main_raw_material['manufacturing_payment_type_master'] ? ''. $main_raw_material['manufacturing_payment_type_master'] .'' : 'NA'; $client_sixth_row .= $main_raw_material['manufacturing_payment_mode'] ? ''. $main_raw_material['manufacturing_payment_mode'] .'' : 'NA';; $client_seventh_row .= $main_raw_material['manufacturing_credit_days_from'] && $main_raw_material['manufacturing_credit_days_to'] ? ''. $main_raw_material['manufacturing_credit_days_from'].' to '. $main_raw_material['manufacturing_credit_days_to'].' days'.'' :' NIL ' ; } } } } // this is for trading if(array_key_exists('trade_details',$clientRow)){ $done_on_credit += $clientRow['trade_details'][0]['trading_products_total_payments_percent_on_credit']; foreach($clientRow['trade_details'] as $tradeRow){ if(isset($tradeRow['trading_products'])){ $to_no_of_clients += count($tradeRow['trading_products']); foreach($tradeRow['trading_products'] as $trading_product_key => $trading_product) { $client_first_row .= ''.$trading_product['trade_product_name'].''; $client_second_row .= $trading_product['person_title_name_master'] ? '' . $trading_product['person_title_name_master']: '' . ''; $client_second_row .= $trading_product['trade_product_contact_person_name'] ; $client_second_row .= isset($trading_product['person_designation']) && $trading_product['person_designation']== 1 ? ' '.$trading_product['other_person_designation'] : ' ';// $client_second_row .= isset($trading_product['person_designation_master']) ? $trading_product['person_designation_master'] : '' ; $client_second_row .= ' '.$trading_product['trade_client_name'].''; $client_third_row .= ''. $trading_product['trade_product_contact_person_mobile_number'] .''; $client_fourth_row .= $trading_product['person_stdcode'] && $trading_product['person_landline'] ? ''. $trading_product['person_stdcode'].' '.$trading_product['person_landline'].'' : ''.'Not Provided'.''; $client_fifth_row .= $trading_product['trade_product_payment_type_master'] ? ''. $trading_product['trade_product_payment_type_master'] .'' : 'NA'; $client_sixth_row .= $trading_product['trade_product_payment_mode'] ? ''. $trading_product['trade_product_payment_mode'] .'' : 'NA';; $client_seventh_row .= $trading_product['trade_product_credit_days_from'] && $trading_product['trade_product_credit_days_to']? ''. $trading_product['trade_product_credit_days_from'].' to '. $trading_product['trade_product_credit_days_to'].' days'.'' :' NIL ' ; } } } } //this is for service if(array_key_exists('service_provider_details',$clientRow)){ $done_on_credit += $clientRow['service_provider_details'][0]['service_products_total_payments_percent_on_credit']; foreach($clientRow['service_provider_details'] as $serviceRow){ if(isset($serviceRow['service_products'])){ $to_no_of_clients += count($serviceRow['service_products']); foreach($serviceRow['service_products'] as $service_product_key => $service_product) { $client_first_row .= ''.$service_product['service_provider_product_name'].''; $client_second_row .= $service_product['person_title_name_master'] ? '' . $service_product['person_title_name_master']: '' . ''; $client_second_row .= $service_product['service_provider_product_contact_person_name'] ; $client_second_row .= isset($service_product['person_designation']) && $service_product['person_designation']== 1 ? ' '.$service_product['other_person_designation'] : ' ';// $client_second_row .= isset($service_product['person_designation_master']) ? $service_product['person_designation_master'] : '' ; $client_second_row .= ' '.$service_product['service_provider_client_name'].''; $client_third_row .= ''. $service_product['service_provider_product_contact_person_mobile_number'] .''; $client_fourth_row .= $service_product['person_stdcode'] && $service_product['person_landline'] ? ''. $service_product['person_stdcode'].' '.$service_product['person_landline'].'' : ''.'Not Provided'.''; $client_fifth_row .= $service_product['service_provider_product_payment_type_master'] ? ''. $service_product['service_provider_product_payment_type_master'] .'' : 'NA'; $client_sixth_row .= $service_product['service_provider_product_payment_mode'] ? ''. $service_product['service_provider_product_payment_mode'] .'' : 'NA'; $client_seventh_row .= $service_product['service_provider_product_credit_days_from'] && $service_product['service_provider_product_credit_days_to']? ''. $service_product['service_provider_product_credit_days_from'].' to '. $service_product['service_provider_product_credit_days_to'].' days'.'' :' NIL ' ; } } } } $client_first_row .= ''; $client_second_row .= ''; $client_third_row .= ''; $client_fourth_row .= ''; $client_fifth_row .= ''; $client_sixth_row .= ''; $client_seventh_row .= ''; ?> 0 ) { echo "

Client Details

"; ?> Client $i"; }?>
Sr.No Particulars
Out of total sales done by ".$name_of_the_company .", ".$done_on_credit."% is done on credit.

"; }?> 1Item Purchased '.''.$raw['manufacturing_raw_material_name'].''; $supplier_second_row = '2Contact Person '; $supplier_second_row .= $raw['person_title_name_master'] ? '' . $raw['person_title_name_master']: '' . ''; $supplier_second_row .= $raw['manufacturing_contact_person_name'] ; $supplier_second_row .= isset($raw['person_designation']) && $raw['person_designation']== 1 ? ' '.$raw['other_person_designation'] : ' ';// $supplier_second_row .= isset($raw['person_designation_master']) ? $raw['person_designation_master'] : '' ; $supplier_second_row .= ' '.$raw['manufacturing_supplier_name'].''; $temp['supplier_second_row'] = $supplier_second_row.''; $temp['supplier_third_row'] = '3Mobile Number '.''. $raw['manufacturing_contact_person_mobile_number'] .''; $temp['supplier_fourth_row'] = '4Landline No'; $temp['supplier_fourth_row'] .= $raw['person_stdcode'] && $raw['person_landline'] ? ''. $raw['person_stdcode'].' '.$raw['person_landline'].'' : ''.'Not Provided'.''; $temp['supplier_fifth_row'] = '5Payment Terms'; $temp['supplier_fifth_row'] .= $raw['manufacturing_payment_type_master'] ? ''. $raw['manufacturing_payment_type_master'] .'' : 'NA'; $temp['supplier_sixth_row'] = '6Payment Mode'; $temp['supplier_sixth_row'] .= $raw['manufacturing_payment_mode'] ? ''. $raw['manufacturing_payment_mode'] .'' : 'NA'; $temp['supplier_seventh_row'] = '7No of Days Credit'; $temp['supplier_seventh_row'] .= $raw['manufacturing_credit_days_from'] && $raw['manufacturing_credit_days_to'] ? ''. $raw['manufacturing_credit_days_from'].' to '. $raw['manufacturing_credit_days_to'].' days' : 'NA'; array_push($supplierResult,$temp); } } } // this is for trading foreach(isset($clientRow['trade_details']) && $clientRow['trade_details'] as $tradeRow){ $total_payments_percent_on_credit_for_supplier = $clientRow['trade_details'][0]['trading_products_total_payments_percent_on_credit']; if(isset($tradeRow['trading_products'])){ foreach($tradeRow['trading_products'] as $trade){ $temp['supplier_first_row'] = '1Item Purchased '.''.$trade['trade_product_name'].''; $supplier_second_row = '2Contact Person '; $supplier_second_row .= $trade['person_title_name_master'] ? '' . $trade['person_title_name_master']: '' . ''; $supplier_second_row .= $trade['trade_product_contact_person_name'] ; $supplier_second_row .= isset($trade['person_designation']) && $trade['person_designation']== 1 ? ' '.$trade['other_person_designation'] : ' ';// $supplier_second_row .= isset($trade['person_designation_master']) ? $trade['person_designation_master'] : '' ; $supplier_second_row .= ' '.$trade['trade_supplier_name'].''; $temp['supplier_second_row'] = $supplier_second_row.''; $temp['supplier_third_row'] = '3Mobile Number '.''. $trade['trade_product_contact_person_mobile_number'] .''; $temp['supplier_fourth_row'] = '4Landline No'; $temp['supplier_fourth_row'] .= $trade['person_stdcode'] && $trade['person_landline'] ? ''. $trade['person_stdcode'].' '.$trade['person_landline'].'' : ''.'Not Provided'.''; $temp['supplier_fifth_row'] = '5Payment Terms'; $temp['supplier_fifth_row'] .= $trade['trade_product_payment_type_master'] ? ''. $trade['trade_product_payment_type_master'] .'' : 'NA'; $temp['supplier_sixth_row'] = '6Payment Mode'; $temp['supplier_sixth_row'] .= $trade['trade_product_payment_mode'] ? ''. $trade['trade_product_payment_mode'] .'' : 'NA'; $temp['supplier_seventh_row'] = '7No of Days Credit'; $temp['supplier_seventh_row'] .= $trade['trade_product_credit_days_from'] && $trade['trade_product_credit_days_to'] ? ''. $trade['trade_product_credit_days_from'].' to '. $trade['trade_product_credit_days_to'].' days' : 'NA'; array_push($supplierResult,$temp); } } } if(count($supplierResult)) { ?>

Supplier Details

$fetchRow){ echo '
Supplier '.($k+1).':'; ?>
Sr.No Particulars Details
0) { echo "

Have to make payment of about ". $total_payments_percent_on_credit_for_supplier ." % in advance rest on delivery.

"; } }?> 0 || count($stockRow['manufacturing_details'][0]['manufacturing_finished_goods']) > 0))){ $is_raw_materials_sufficient_enough = $stockRow['manufacturing_details'][0]['is_sufficiant_raw']; $bindStockResult["manufacturing"]=Stockform::getStockManufacturingDetails($stockRow['manufacturing_details'][0]['manufacturing_raw_materials'], $stockRow['manufacturing_details'][0]['manufacturing_finished_goods']); //print_r($bindStockResult["manufacturing"]); } else { $bindStockResult["manufacturing"]=array(); } // this is for stock retail details if(count($stockRow['retail_details'][0]['retail_traded_goods']) > 0){ $bindStockResult["retail"]=Stockform::getStockRetailDetails($stockRow['retail_details'][0]['retail_traded_goods']); } else { $bindStockResult["retail"]=array(); } // this is for stock whole sale details if(count($stockRow['trade_details'][0]['trading_traded_goods']) > 0){ $bindStockResult["wholesale"]=Stockform::getStockWholesaleDetails($stockRow['trade_details'][0]['trading_traded_goods']); } else { $bindStockResult["wholesale"]=array(); } count($bindStockResult['wholesale']) || count($bindStockResult['retail']) || count($bindStockResult['manufacturing'])? array_push($stockResult,$bindStockResult) : $stockResult; //print_r($stockResult);die(); ?>

Stock Details

0) { ?> 0) { ?> 0) { ?>
Sr.No Type of Stock Stock Item Stock Value (Rs) Stock Quantity
Considering the size of operations, the stock of finished goods maintained is sufficient as per the PD Officer’s observations.

'; }else if(!strcasecmp($is_stock_sufficient_enough,'no')){ echo '

Considering the size of operations, the stock of finished goods maintained is not sufficient as per the PD Officer’s observations.

'; } if(!strcasecmp($is_raw_materials_sufficient_enough,'yes')) { echo '

Considering the size of operations, the stock of raw materials maintained is sufficient as per the PD Officer’s observations.

'; }else if(!strcasecmp($is_raw_materials_sufficient_enough,'no')) { echo '

Considering the size of operations, the stock of raw materials maintained is not sufficient as per the PD Officer’s observations.

'; } $stock_photo_count = $pd_images[11]; // echo count($pd_images[11]); // die(); $stock_img_row_count = ceil(count($stock_photo_count) / 5); //echo $stock_img_row_count; if(count($stock_photo_count)){ echo '
'; echo '

Stock Photograph`s :

'; echo '
'; echo ''; //echo ''; // echo '
'; // foreach($stock_photo_count as $stock) // { // echo $stock['pd_document_title']; // echo ''; // echo '   '; // } //echo ''; for($img_row = 1; $img_row <= $stock_img_row_count; $img_row++) { echo '
'; $from = $img_row == 1 ? $img_row : ($img_row+4); $to = ($from + 4); for($stock_photo_iter = $from; $stock_photo_iter <= $to;$stock_photo_iter++) { if(isset($stock_photo_count[$stock_photo_iter]) &&$stock_photo_count[$stock_photo_iter]['company_id'] == ($business_count+1)) { echo ''; //unset($stock_photo_count[$stock_photo_iter]); } } //echo "


"; echo ''; } //echo ''; echo '
'; echo ''; echo '
'; } //die(); ?> Assessed Income - ".MYUTIL::findCompanyName($all_company_details,($business_count+1),1).""; if($ai_core_details['gross_profit_calculation_type'][0]['mode'] == 1) { echo '

As per person met, the following Purchase details were shared:


'; } else if($ai_core_details['gross_profit_calculation_type'][0]['mode'] == 2) { echo '

As per person met, Purchase details were not shared, income calculated by Net magin percentage.


'; } if($ai_core_details['gross_profit_calculation_type'][0]['mode'] == 1 && $ai_core_details['gross_profit_calculation_type'][0]['purchase_type'] == 1) { echo '

Itemwise Purchase Details :

'; echo ''; echo ''; echo ''; echo ''; echo ''; foreach($ai_core_details_processed['purchase_to_display'] as $dat) { echo ''; } echo ''; echo '
Raw Material/Trading Item Purchase Quantity UOM Rate/Unit of Purchase Frequency Annual Purchase(Rs)
'.$dat['material_name'] .' '.$dat['qty'] .' '.$dat['uom'] .' '.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($dat['rate']) .' '.$dat['frequency'] .' '.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($dat['annual_value']) .'
'; } else if($ai_core_details['gross_profit_calculation_type'][0]['mode'] == 1 &&$ai_core_details['gross_profit_calculation_type'][0]['purchase_type'] == 2) { echo '

Billwise Purchase Details :

'; foreach($ai_core_details_processed['purchase_to_display'] as $billwise) { echo '
'; echo 'Item name : ' . $billwise['item_name'].'
'; echo ''.$billwise['month_count'].' month(s) purchase value : '.MYUTIL::customIndianNumberFormat($billwise['annual_purchase_value']).' Annual Purchase value:'. MYUTIL::customIndianNumberFormat($billwise['annual_purchase_value'] * (12 / $billwise['month_count']) ).''; echo '
'; foreach($billwise['months'] as $month_data) { //echo ''; echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; foreach($month_data['month_data'] as $month) { echo ''; } echo ''; echo '
'.$month_data['month_to_dispaly'].'
Date Value
'.$month['date'] .' '.$month['value'] .'
'; //echo '
'; } echo '
'; } } } echo '

'; if(isset($ai_core_details) && count($ai_core_details['sales_declared_by_customer'])) { $str = 'As per person met, '.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($ai_core_details['sales_declared_by_customer'][0]['sales_declared_by_customer']).' ( '.MYUTIL::numtowords($ai_core_details['sales_declared_by_customer'][0]['sales_declared_by_customer']).' ) declared as annual sale value.'; if($ai_core_details['gross_profit_calculation_type'][0]['mode'] == 2) { $str .= '
Also '.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($ai_core_details['sales_declared_by_customer'][0]['margin_value']).' ( '.MYUTIL::numtowords( $ai_core_details['sales_declared_by_customer'][0]['margin_value']).' )'.'( '.$ai_core_details['sales_declared_by_customer'][0]['margin_per'].'% sales declared ) as net margin amount.'; } echo $str; echo '


'; } //die(); if(isset($ai_core_details) && count($ai_core_details['sales_calculated_by_itemwise'])) { echo '

Sales Itemwise :

'; echo ''; echo ''; echo $ai_core_details_processed['sales_calculated_by_itemwise_header']; echo ''; echo ''; foreach($ai_core_details_processed['sales_item_wise_to_diaplay'] as $sid) { echo ''; echo ''; if(isset($sid['margin_per'])){echo ''; } if(isset($sid['margin_per_uom'])){echo ''; } if(isset($sid['margin_final_value'])){echo ''; } echo ''; } echo ''; echo '
'.$sid['sale_item'].''.$sid['sales_qty'].''.$sid['uom'].''.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($sid['rate_per_unit']).''.$sid['frequency'].''.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($sid['annual_sale_value']).''.$sid['margin_per'].''.$sid['margin_per_uom'].''.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($sid['margin_final_value']).'
'; } if(isset($ai_core_details) && count($ai_core_details['sales_items_by_monthwise'])) { echo "
"; echo "

Kuchha Sales Book/Bills :

"; foreach($ai_core_details_processed['sales_month_wise_to_display'] as $sale_month_wise) { // if($sale_month_wise['sales_type'] == 1) // { echo '
'; echo 'Item name : ' . $sale_month_wise['sales_item'].'
'; if($sale_month_wise['sales_type'] == 1) { echo ''.$sale_month_wise['month_count'].' month purchase value : '.$rupee_symbol.''.MYUTIL::customIndianNumberFormat($sale_month_wise['total_months_value']).' Annual Purchase value:'.$rupee_symbol.'' .MYUTIL::customIndianNumberFormat(($sale_month_wise['total_months_value'] * (12 / $sale_month_wise['month_count']) )).''; } else { echo 'Annual Purchase value:'. $rupee_symbol.' '.MYUTIL::customIndianNumberFormat(($sale_month_wise['total_months_value'] )).''; } echo '
'; $row_count = ceil(count($sale_month_wise['months']) / 5); echo ''; for($i = 1; $i <= $row_count; $i++) { $from = $i==1 ? $i : ($i + 4); $to = ($from + 4); echo ''; for($j = $from ; $j <= $to ;$j++) { //$sale_month_wise['months'] as $sale_month_data //echo ''; if(isset($sale_month_wise['months'][$j])) { echo ''; } } echo ''; } echo '
'; echo ''; echo ''; if($sale_month_wise['sales_type'] == 1) { echo ''; } if($sale_month_wise['sales_type'] == 1) { echo ''; }else if($sale_month_wise['months'][$j]['sales_type'] == 2) { echo ''; } echo ''; echo ''; foreach($sale_month_wise['months'][$j]['month_data'] as $month) { if($sale_month_wise['sales_type'] == 1) { echo ''; } else if($sale_month_wise['sales_type'] == 2) { echo ''; } } echo ''; echo '
'.$sale_month_wise['months'][$j]['month_to_dispaly'].'
Date Value
Frequncy Value
'.$month['date'] .' '.$month['value'] .'
'.$month['frequency_name'] .' '.$month['frequency_value'] .'
'; echo '
'; echo '
'; //} } } //die(); if(isset($ai_core_details) && count($ai_core_details['business_expenses'])) { echo '

Business Expenses Details :

'; echo ''; echo ''; echo ''; echo ''; echo ''; foreach($ai_core_details_processed['business_expenses_to_diaplay'] as $b_exp) { echo ''; } echo ''; echo '
Business Expense Amount Frequency Annual Expenses
'.$b_exp['expense_item'] .' '.$rupee_symbol." ".MYUTIL::customIndianNumberFormat($b_exp['expense_value']) .' '.$b_exp['frequency_name'] .' '.$rupee_symbol." ".MYUTIL::customIndianNumberFormat($b_exp['annual_expenses_value']).'
'; } if(isset($ai_core_details) && count($ai_core_details['house_hold_expenses'])) { echo '

Household Expenses Details :

'; echo ''; echo ''; echo ''; echo ''; echo ''; foreach($ai_core_details_processed['household_expenses_to_diaplay'] as $h_exp) { echo ''; } echo ''; echo '
Expense Particulars Amount (Rs) Frequency Annual Expenses(Rs)
'.$h_exp['expense_item'] .' '.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($h_exp['expense_value']) .' '.$h_exp['frequency_name'] .' '.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($h_exp['annual_expense_value']) .'
'; } if(isset($ai_core_details) && count($ai_summary_details_processed)) { echo '

The Summary of Income :

'; echo ''; echo ''; echo $ai_summary_details_processed['ai_table_header_row']; echo ''; echo ''; echo $ai_summary_details_processed['sale_revenue_row']; echo $ai_summary_details_processed['purchase_row']; echo $ai_summary_details_processed['gross_profit_loss_row']; echo $ai_summary_details_processed['business_expense_row']; echo $ai_summary_details_processed['net_profit_loss_row']; echo $ai_summary_details_processed['house_hold_expense_row']; echo $ai_summary_details_processed['disposable_income_row']; echo $ai_summary_details_processed['net_margin_row']; echo ''; echo '
'; echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo $ai_summary_details_processed['considered_sales_revenue_row']; echo $ai_summary_details_processed['considered_net_profit_row']; echo $ai_summary_details_processed['considered_net_margint_row']; echo ''; echo '
Particulars Details
'; } echo "
"; //die(); ?> $oaRow) { $otherAssetRow = json_decode($oaRow['processed_json'],true); //print_r($otherAssetRow);die(); //echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@"; if(count($otherAssetRow['assets_details'])>0){ $otherAssetResult=ASSETSFORM::getOthersAssetsDetails($otherAssetRow['assets_details']); //print_r($otherAssetResult);die(); } } ?>

Personal Assets

0){ ?> $paRow){ ?>
Sr.No Asset Type Asset Description Asset Owned By Approx Market Value(Rs) Purchase Year Loan Again Assest
'. $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($paRow['approximate_market_value']) : $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($paRow['approximate_market_value']); ?>

Personal asset is not available.

$ibRow) { $individualBankRow = json_decode($ibRow['processed_json'],true); //print_r($individualBankRow); if(count($individualBankRow['banking_details'])>0){ $getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details']); $bankingResult = array_merge($bankingResult,$getIndividualEachValues); } } ?>

Personal Banking:

0){ //print_r($bankingResult); ?>

Below bank account details were shared :

$bdRow){ ?>
Sr.No Account Holder's Name Bank Name Account Type OD / CC Limit Vintage
$iRow) { $otherIcomeRow = json_decode($iRow['processed_json'],true); // print_r($otherIcomeRow); // echo "@@@@@@@@@@@@@@@@@@@@@"; if(strtoupper($otherIcomeRow['other_income'])=='YES' && count($otherIcomeRow['income_details'])>0){ $otherIncomeResult=OTHERINCOMEFORM::getIncomeDetails($otherIcomeRow['income_details']); } } ?> 0){ //print_r($otherIncomeResult); ?>

Other Sources of Income of Individual Loan Applicants:

$oiRow){ ?>
Sr.No Income Source Earned by Amount(Rs)

As per the loan applicants met by PD officer, they do not have any other source of Income.

$fRow) { $familyRow = json_decode($fRow['processed_json'],true); //print_r($familyRow);die(); if(array_key_exists('family_details',$familyRow) && count($familyRow['family_details'])>0){ $familyResult=OTHERFAMILYFORM::getFamilyDetails($familyRow['family_details']); } } ?> 0){ //print_r($familyResult);die(); ?>

Family Information:

$fmValue) { ?> ";echo $residence_text; ?>

The table below provides details of other family members of

$fmRow){ ?>
Sr.No Name Relation Age Earning Status Occupation Details

Other Family Members is not available.

$elRow) { $otherLoanRow = json_decode($elRow['processed_json'],true); //print_r($otherLoanRow);die(); $total_no_of_data = 0; if(strtoupper($otherLoanRow['existing_loan'])=='YES' && count($otherLoanRow['loan_details'])>0){ $total_no_of_data = count($otherLoanRow['loan_details']); $existLoanResult=FINANCIALFORM::getOtherLoanDetails($otherLoanRow['loan_details']); } } ?> 0){ //print_r($existLoanResult);die(); ?>

Existing Loan Obligation

The table below lists the details of Existing Loan Obligations of the Loan Applicants.

Loan $header";}?>
Particulars

As per loan applicant he doesn’t have any existing obligations

$nrcRow) { $neighbourRefRow = json_decode($nrcRow['processed_json'],true); //print_r($applicants_details);die(); //print_r($neighbourRefRow); //die(); 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]); // } } ?>

Neighbourhood / Reference Check

0){ //print_r($existNeighRefCheck);die(); ?> $nfValue) { echo '
Neighbour '.(++$nkey); ?>

Neighbour Check was not possible due to Could not verify

PD OFFICERS REMARKS ON CUSTOMER BEHAVOUR, BUSINESS LOCATION & OVERALL PD STATUS

  • Customer Behaviour:

  • ✔'; ?>
    Polite
    Rude
    Others mentioned as below

  • Suitability of Business Location:
  • Well Suited
    Fairly Suited
    Not Suited
  • PD Officer’s overall assessment:
  • 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 "
  • ".$pos['reason_for_positive']."
  • ";} }else if($negative){ echo "