diff --git a/api/application/views/report_templates/JSONTOREPORT_RI.php b/api/application/views/report_templates/JSONTOREPORT_RI.php
index 18975269..16ae56ef 100644
--- a/api/application/views/report_templates/JSONTOREPORT_RI.php
+++ b/api/application/views/report_templates/JSONTOREPORT_RI.php
@@ -520,10 +520,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
PD Initiated Date | : | '.$pd_master_details[0]['createdon'].' | ';
- echo '| Tele PD Date | : | '.$pd_master_details[0]['pd_visit_date'].' |
';
+ echo '| PD Visit Date | : | '.$pd_master_details[0]['pd_visit_date'].' |
';
echo '| PD Report Date | : | '.$pd_master_details[0]['pd_report_generated_date'].' |
';
echo '| PD Initiated by | : | '.$pd_master_details[0]['branch_name'].' Branch |
';
- echo '| PD Type | : | Telephonic |
';
echo '| Loan Application ID | : | '.$pd_master_details[0]['lender_applicant_id'].' |
';
echo '| Product | : | '.$pd_master_details[0]['product_name'].' |
';
echo '| Customer Segment | : | '.(explode('-',$pd_master_details[0]['customer_segment_name'])[0]).' |
';
@@ -825,7 +824,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
//print_r($address_images);die();
?>
- BUSINESS LOCATION
+ PD LOCATION
PD Location Address : '.$pd_address['address'].', '.$pd_address['city_master'].', '.$pd_address['state_master'].' - '.$pincode.'.';
}
- echo '
GPS Coordinates of Business Address : '.$pd_master_details[0]['start_location'];
+ 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:100%;height:300px;border-color:#0191ed" />
-
+
Location Summary
';
- echo 'The PD was telephonically done with the loan applicant(s) at '. $address_type. 'Address Form - Type of Address of the loan applicants. ';
+ 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 '
The '.$address_type.'Address Form - Type of Address is located in '.$locality.'Address Form - Locality of Address and the estimated area of the '.$address_type.'Address Form - Type of Address is '.$estimated_area.'Address Form - Estimated Area .';
- //echo '
The PD location was '. $pd_address['pd_location_master'].'Address Form - Approach to PD location . ' . 'As Per PD Officer, the '.$address_type .'Address Form - Type of Address is situated in '.$comment_locality_master .'Address Form - Comment on locality Locality.';
- // echo '
The PD officer also made the following observations:' ;
- // echo '
';
+ echo '
The PD location was '. $pd_address['pd_location_master'].'Address Form - Approach to PD location . ' . 'As Per PD Officer, the '.$address_type .'Address Form - Type of Address is situated in '.$comment_locality_master .'Address Form - Comment on locality Locality.';
+ echo '
The PD officer also made the following observations:' ;
+ echo '
';
- // echo '- The location of the '.$address_type.'Address Form - Type of Address is '.$address_type_remarks_caption [ $final_remark_data['is_service_provided'] ].'Final Remarks Form - The location of the busienss suitability for Business to the nature of business.
';
+ echo '- The location of the '.$address_type.'Address Form - Type of Address is '.$address_type_remarks_caption [ $final_remark_data['is_service_provided'] ].'Final Remarks Form - The location of the busienss suitability for Business to the nature of business.
';
@@ -993,7 +992,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
//print_r($loan_form);die();
$loan_amount = MYUTIL::customIndianNumberFormat($loan_form['loan_amount']);
- echo ' The following loan related information was provided by applicant.';
+ echo '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;
@@ -1553,6 +1552,75 @@ defined('BASEPATH') OR exit('No direct script access allowed');
if($existing_loan_form_common_remarks != ""){ echo ''.$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]);
+ // }
+ }
+ ?>
+
+ Neighbourhood / Reference Check
+ 0){
+ //print_r($existNeighRefCheck);die();
+ ?>
+
+ $nfValue) {
+
+ echo $nfValue['neighbourhood_name_only'];
+ ?>
+
+
+
+
+ - Neighbourhood Check Status is .
+
+
+
+
+
+
+
+ Status of the check: could not verify.
+
+ '. $neighbourhood_form_common_remarks.'
';}
+ ?>
+
+
-
PD OFFICER`S REMARKS ON CUSTOMER BEHAVIOUR & OVERALL PD STATUS
+
PD OFFICER`S REMARKS ON CUSTOMER BEHAVIOUR, BUSINESS LOCATION & OVERALL PD STATUS
-
-
+
- PD Officer’s overall assessment:
diff --git a/api/application/views/report_templates/JSONTOREPORT_RI _TELE_PD.php b/api/application/views/report_templates/JSONTOREPORT_RI_TELE_PD.php
similarity index 93%
rename from api/application/views/report_templates/JSONTOREPORT_RI _TELE_PD.php
rename to api/application/views/report_templates/JSONTOREPORT_RI_TELE_PD.php
index 16ae56ef..18975269 100644
--- a/api/application/views/report_templates/JSONTOREPORT_RI _TELE_PD.php
+++ b/api/application/views/report_templates/JSONTOREPORT_RI_TELE_PD.php
@@ -520,9 +520,10 @@ defined('BASEPATH') OR exit('No direct script access allowed');
PD Initiated Date | : | '.$pd_master_details[0]['createdon'].' | ';
- echo '| PD Visit Date | : | '.$pd_master_details[0]['pd_visit_date'].' |
';
+ echo '| Tele PD Date | : | '.$pd_master_details[0]['pd_visit_date'].' |
';
echo '| PD Report Date | : | '.$pd_master_details[0]['pd_report_generated_date'].' |
';
echo '| PD Initiated by | : | '.$pd_master_details[0]['branch_name'].' Branch |
';
+ echo '| PD Type | : | Telephonic |
';
echo '| Loan Application ID | : | '.$pd_master_details[0]['lender_applicant_id'].' |
';
echo '| Product | : | '.$pd_master_details[0]['product_name'].' |
';
echo '| Customer Segment | : | '.(explode('-',$pd_master_details[0]['customer_segment_name'])[0]).' |
';
@@ -824,7 +825,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
//print_r($address_images);die();
?>
- PD LOCATION
+ BUSINESS 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 '
GPS Coordinates of Business Address : '.$pd_master_details[0]['start_location'];
echo '
';
?>
" alt=" Satellite Image of location of Where PD was Done" style="width:100%;height:300px;border-color:#0191ed" />
-
+
Location Summary
';
- echo 'The PD visit was done at '. $address_type. 'Address Form - Type of Address of the loan applicants. ';
+ echo 'The PD was telephonically done with the loan applicant(s) 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 '
The '.$address_type.'Address Form - Type of Address is located in '.$locality.'Address Form - Locality of Address and the estimated area of the '.$address_type.'Address Form - Type of Address is '.$estimated_area.'Address Form - Estimated Area .';
- echo '
The PD location was '. $pd_address['pd_location_master'].'Address Form - Approach to PD location . ' . 'As Per PD Officer, the '.$address_type .'Address Form - Type of Address is situated in '.$comment_locality_master .'Address Form - Comment on locality Locality.';
- echo '
The PD officer also made the following observations:' ;
- echo '
';
+ //echo '
The PD location was '. $pd_address['pd_location_master'].'Address Form - Approach to PD location . ' . 'As Per PD Officer, the '.$address_type .'Address Form - Type of Address is situated in '.$comment_locality_master .'Address Form - Comment on locality Locality.';
+ // echo '
The PD officer also made the following observations:' ;
+ // echo '
';
- echo '- The location of the '.$address_type.'Address Form - Type of Address is '.$address_type_remarks_caption [ $final_remark_data['is_service_provided'] ].'Final Remarks Form - The location of the busienss suitability for Business to the nature of business.
';
+ // echo '- The location of the '.$address_type.'Address Form - Type of Address is '.$address_type_remarks_caption [ $final_remark_data['is_service_provided'] ].'Final Remarks Form - The location of the busienss suitability for Business to the nature of business.
';
@@ -992,7 +993,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
//print_r($loan_form);die();
$loan_amount = MYUTIL::customIndianNumberFormat($loan_form['loan_amount']);
- echo 'During the PD visit, person met provide the following information about loan applied for:';
+ echo ' The following loan related information was provided by applicant.';
$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;
@@ -1552,75 +1553,6 @@ defined('BASEPATH') OR exit('No direct script access allowed');
if($existing_loan_form_common_remarks != ""){ echo ''.$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]);
- // }
- }
- ?>
-
- Neighbourhood / Reference Check
- 0){
- //print_r($existNeighRefCheck);die();
- ?>
-
- $nfValue) {
-
- echo $nfValue['neighbourhood_name_only'];
- ?>
-
-
-
-
- - Neighbourhood Check Status is .
-
-
-
-
-
-
-
- Status of the check: could not verify.
-
- '. $neighbourhood_form_common_remarks.'
';}
- ?>
-
-
-
PD OFFICER`S REMARKS ON CUSTOMER BEHAVIOUR, BUSINESS LOCATION & OVERALL PD STATUS
+
PD OFFICER`S REMARKS ON CUSTOMER BEHAVIOUR & OVERALL PD STATUS
- - Suitability of Business Location:
+
-
+
- PD Officer’s overall assessment: