TELE PD RI REPORTS
This commit is contained in:
parent
2cf2a5eb74
commit
3a151c2f93
@ -520,10 +520,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<?php
|
||||
|
||||
echo '<tr><td>PD Initiated Date </td> <td style="width:2%;">:</td> <td> '.$pd_master_details[0]['createdon'].'</td></tr>';
|
||||
echo '<tr><td>Tele PD Date </td> <td style="width:2%;">:</td> <td> '.$pd_master_details[0]['pd_visit_date'].'</td></tr>';
|
||||
echo '<tr><td>PD Visit Date </td> <td style="width:2%;">:</td> <td> '.$pd_master_details[0]['pd_visit_date'].'</td></tr>';
|
||||
echo '<tr><td>PD Report Date </td> <td style="width:2%;">:</td> <td>'.$pd_master_details[0]['pd_report_generated_date'].'</td></tr>';
|
||||
echo '<tr><td>PD Initiated by </td> <td style="width:2%;">:</td> <td>'.$pd_master_details[0]['branch_name'].' Branch</td></tr>';
|
||||
echo '<tr><td>PD Type </td> <td style="width:2%;">:</td> <td> Telephonic </td></tr>';
|
||||
echo '<tr><td>Loan Application ID </td> <td style="width:2%;">:</td> <td> '.$pd_master_details[0]['lender_applicant_id'].'</td></tr>';
|
||||
echo '<tr><td>Product </td> <td style="width:2%;">:</td> <td>'.$pd_master_details[0]['product_name'].'</td></tr>';
|
||||
echo '<tr><td>Customer Segment </td> <td style="width:2%;">:</td> <td>'.(explode('-',$pd_master_details[0]['customer_segment_name'])[0]).'</td></tr>';
|
||||
@ -825,7 +824,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
//print_r($address_images);die();
|
||||
?>
|
||||
<div id="page_break"></div>
|
||||
<p><b>BUSINESS LOCATION</b></p>
|
||||
<p><b>PD LOCATION</b></p>
|
||||
|
||||
<p><?php
|
||||
|
||||
@ -853,7 +852,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
echo '<b>PD Location Address : </b>'.$pd_address['address'].', '.$pd_address['city_master'].', '.$pd_address['state_master'].' - '.$pincode.'.';
|
||||
}
|
||||
|
||||
echo '<br><br><b> GPS Coordinates of Business Address : </b>'.$pd_master_details[0]['start_location'];
|
||||
echo '<br><br><b> GPS Coordinates of location where PD Visit was done : </b>'.$pd_master_details[0]['start_location'];
|
||||
echo '<br><br>';
|
||||
?>
|
||||
<?php
|
||||
@ -874,7 +873,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
<img border="3" src = "<?php echo $satellite_url;?>" alt=" Satellite Image of location of Where PD was Done" style="width:100%;height:300px;border-color:#0191ed" /><br><br><br>
|
||||
|
||||
<!-- <?php if($pd_location_approach_img_url != "" ) {?>
|
||||
<?php if($pd_location_approach_img_url != "" ) {?>
|
||||
<table>
|
||||
<thead>
|
||||
<tr> <th>PD Location Approach</th> </tr>
|
||||
@ -886,7 +885,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
</tr>
|
||||
<tr> <td><?php echo $pd_location_approach_img_location .'<br>'.$pd_location_approach_img_date; ?></td> <td> </td> </tr>
|
||||
</table>
|
||||
<?php } ?> -->
|
||||
<?php } ?>
|
||||
<div id="page_break"></div>
|
||||
<br><p><b>Location Summary</b></p>
|
||||
<?php
|
||||
@ -906,14 +905,14 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
//($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 '<p style="text-align:justify;">';
|
||||
echo '<span contenteditable="true">The PD was telephonically done with the loan applicant(s) at </span><span class="tooltip">'. $address_type. '<span class="tooltiptext">Address Form - Type of Address </span></span><span contenteditable="true"> of the loan applicants. </span>';
|
||||
echo '<span contenteditable="true">The PD visit was done at </span><span class="tooltip">'. $address_type. '<span class="tooltiptext">Address Form - Type of Address </span></span><span contenteditable="true"> of the loan applicants. </span>';
|
||||
//echo '<span contenteditable="true">The </span><span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span><span contenteditable="true"> is </span><span class="tooltip">'.$property_owner_type.'<span class="tooltiptext">Business Assest Form - Owner of the Property </span></span><span contenteditable="true"> and the business has been in operation from here for the last</span> <span class="tooltip">'.$yrs_being_run.'<span class="tooltiptext">Business Assest Form - Business running Yrs in this premise </span></span><span contenteditable="true">.</span>';
|
||||
echo '<br><br><span contenteditable="true">The</span> <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is located in </span><span class="tooltip">'.$locality.'<span class="tooltiptext">Address Form - Locality of Address </span></span> <span contenteditable="true">and the estimated area of the</span> <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is</span> <span class="tooltip">'.$estimated_area.'<span class="tooltiptext">Address Form - Estimated Area </span></span> <span contenteditable="true">.</span>';
|
||||
//echo '<br><br><span contenteditable="true">The PD location was </span><span class="tooltip">'. $pd_address['pd_location_master'].'<span class="tooltiptext">Address Form - Approach to PD location </span></span>. ' . '<span contenteditable="true">As Per PD Officer, the</span> <span class="tooltip">'.$address_type .'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is situated in</span><span class="tooltip"> '.$comment_locality_master .'<span class="tooltiptext">Address Form - Comment on locality </span></span> <span contenteditable="true">Locality.</span>';
|
||||
// echo '<br><br><span contenteditable="true">The PD officer also made the following observations:</span>' ;
|
||||
// echo '<br><ul>';
|
||||
echo '<br><br><span contenteditable="true">The PD location was </span><span class="tooltip">'. $pd_address['pd_location_master'].'<span class="tooltiptext">Address Form - Approach to PD location </span></span>. ' . '<span contenteditable="true">As Per PD Officer, the</span> <span class="tooltip">'.$address_type .'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is situated in</span><span class="tooltip"> '.$comment_locality_master .'<span class="tooltiptext">Address Form - Comment on locality </span></span> <span contenteditable="true">Locality.</span>';
|
||||
echo '<br><br><span contenteditable="true">The PD officer also made the following observations:</span>' ;
|
||||
echo '<br><ul>';
|
||||
|
||||
// echo '<li><span contenteditable="true"> The location of the</span><span class="tooltip"> '.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is</span> <span class="tooltip">'.$address_type_remarks_caption [ $final_remark_data['is_service_provided'] ].'<span class="tooltiptext">Final Remarks Form - The location of the busienss suitability for Business </span></span> <span contenteditable="true">to the nature of business. </span></li>';
|
||||
echo '<li><span contenteditable="true"> The location of the</span><span class="tooltip"> '.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is</span> <span class="tooltip">'.$address_type_remarks_caption [ $final_remark_data['is_service_provided'] ].'<span class="tooltiptext">Final Remarks Form - The location of the busienss suitability for Business </span></span> <span contenteditable="true">to the nature of business. </span></li>';
|
||||
|
||||
|
||||
|
||||
@ -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 '<span> The following loan related information was provided by applicant.</span>';
|
||||
echo '<span>During the PD visit, person met provide the following information about loan applied for:</span>';
|
||||
|
||||
$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 '<p>'.$existing_loan_form_common_remarks.'</p>';}
|
||||
?>
|
||||
<!-- #################end Existing Loan obligations section ################# -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- #################start neighbourhood/reference check #################-->
|
||||
<?php
|
||||
$existNeighRefCheck=array();
|
||||
$pd_offiecer_status_about_neighbor = "";
|
||||
foreach($pd_processed_forms[19] as $rowKey=> $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]);
|
||||
// }
|
||||
}
|
||||
?>
|
||||
|
||||
<h3 contenteditable="true">Neighbourhood / Reference Check</h3>
|
||||
<?php
|
||||
|
||||
//echo $pd_offiecer_status_about_neighbor;
|
||||
if(count($existNeighRefCheck)>0){
|
||||
//print_r($existNeighRefCheck);die();
|
||||
?>
|
||||
|
||||
<?php foreach($existNeighRefCheck as $nkey => $nfValue) {
|
||||
|
||||
echo $nfValue['neighbourhood_name_only'];
|
||||
?>
|
||||
|
||||
<ul>
|
||||
<li style="margin: 15px 0;"><?php echo $nfValue['neighbourhood_name']; ?></li>
|
||||
<li style="margin: 15px 0;"><?php echo $nfValue['neighbourhood_do_know']; ?></li>
|
||||
<li style="margin: 15px 0;"><?php echo $nfValue['neighbourhood_business_running_yr']; ?></li>
|
||||
<li style="margin: 15px 0;"><?php echo $nfValue['ownership']; ?>
|
||||
</ul>
|
||||
<?php }?>
|
||||
|
||||
<li style="margin: 15px 0;"> Neighbourhood Check Status is <span style="font-size:16px;font-weight:bold;"><?php echo $pd_offiecer_status_about_neighbor;?>.</span></li>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
else{?>
|
||||
<!-- <p>Status of check: Could Not Verify. <br>Neighbour Check was not possible due to Could not verify</p> -->
|
||||
<!-- <p>Neighbour Check was not possible due to Could not verify</p> -->
|
||||
<p>Status of the check: could not verify.<p>
|
||||
|
||||
<?php
|
||||
}
|
||||
if($neighbourhood_form_common_remarks != ""){ echo '<p>'. $neighbourhood_form_common_remarks.'</p>';}
|
||||
?>
|
||||
|
||||
<!-- #################end neighbourhood/reference check #################-->
|
||||
|
||||
<!-- #################Credit Manager Specific Query Section #################-->
|
||||
<?php
|
||||
@ -1643,7 +1711,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
<!-- #################Final Remarks Section#################-->
|
||||
<div class="page_break"></div>
|
||||
<br><h3 contenteditable="true">PD OFFICER`S REMARKS ON CUSTOMER BEHAVIOUR & OVERALL PD STATUS</h3>
|
||||
<br><h3 contenteditable="true">PD OFFICER`S REMARKS ON CUSTOMER BEHAVIOUR, BUSINESS LOCATION & OVERALL PD STATUS</h3>
|
||||
<?php
|
||||
//print_r($final_remark_data);
|
||||
$polite = null;$rude = null; $other_behaviour = null;$other_behaviour_remarks = null;
|
||||
@ -1727,18 +1795,18 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}?>
|
||||
|
||||
|
||||
<!-- <li>Suitability of Business Location: </li>
|
||||
<li>Suitability of Business Location: </li>
|
||||
<br><br>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<!-- <tr>
|
||||
<td><div id="boxstyle3">Well Suited <?php if($well){?><span style='font-family: DejaVu Sans; sans-serif;font-size:12px'>✔</span><?php } ?></div></td>
|
||||
|
||||
<td><div id="boxstyle3">Fairly Suited <?php if($fair){?><span style='font-family: DejaVu Sans; sans-serif;font-size:12px'>✔</span><?php } ?></div></td>
|
||||
|
||||
<td><div id="boxstyle3">Not Suited <?php if($not){?><span style='font-family: DejaVu Sans; sans-serif;font-size:12px'>✔</span><?php } ?></div></td>
|
||||
</tr>-->
|
||||
<!-- <tr>
|
||||
<tr>
|
||||
<td >
|
||||
<div id="first_div" style="border-color:green;color:black;">Well Suited</div> <div id="tick_div" style="border-color:green;color:black;"><?php if($well){ echo $tick_mark; } ?></div>
|
||||
</td>
|
||||
@ -1752,7 +1820,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
</tr>
|
||||
|
||||
|
||||
</table> -->
|
||||
</table>
|
||||
<br>
|
||||
<li>PD Officer’s overall assessment: </li>
|
||||
<br><br>
|
||||
|
||||
@ -520,9 +520,10 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<?php
|
||||
|
||||
echo '<tr><td>PD Initiated Date </td> <td style="width:2%;">:</td> <td> '.$pd_master_details[0]['createdon'].'</td></tr>';
|
||||
echo '<tr><td>PD Visit Date </td> <td style="width:2%;">:</td> <td> '.$pd_master_details[0]['pd_visit_date'].'</td></tr>';
|
||||
echo '<tr><td>Tele PD Date </td> <td style="width:2%;">:</td> <td> '.$pd_master_details[0]['pd_visit_date'].'</td></tr>';
|
||||
echo '<tr><td>PD Report Date </td> <td style="width:2%;">:</td> <td>'.$pd_master_details[0]['pd_report_generated_date'].'</td></tr>';
|
||||
echo '<tr><td>PD Initiated by </td> <td style="width:2%;">:</td> <td>'.$pd_master_details[0]['branch_name'].' Branch</td></tr>';
|
||||
echo '<tr><td>PD Type </td> <td style="width:2%;">:</td> <td> Telephonic </td></tr>';
|
||||
echo '<tr><td>Loan Application ID </td> <td style="width:2%;">:</td> <td> '.$pd_master_details[0]['lender_applicant_id'].'</td></tr>';
|
||||
echo '<tr><td>Product </td> <td style="width:2%;">:</td> <td>'.$pd_master_details[0]['product_name'].'</td></tr>';
|
||||
echo '<tr><td>Customer Segment </td> <td style="width:2%;">:</td> <td>'.(explode('-',$pd_master_details[0]['customer_segment_name'])[0]).'</td></tr>';
|
||||
@ -824,7 +825,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
//print_r($address_images);die();
|
||||
?>
|
||||
<div id="page_break"></div>
|
||||
<p><b>PD LOCATION</b></p>
|
||||
<p><b>BUSINESS LOCATION</b></p>
|
||||
|
||||
<p><?php
|
||||
|
||||
@ -852,7 +853,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
echo '<b>PD Location Address : </b>'.$pd_address['address'].', '.$pd_address['city_master'].', '.$pd_address['state_master'].' - '.$pincode.'.';
|
||||
}
|
||||
|
||||
echo '<br><br><b> GPS Coordinates of location where PD Visit was done : </b>'.$pd_master_details[0]['start_location'];
|
||||
echo '<br><br><b> GPS Coordinates of Business Address : </b>'.$pd_master_details[0]['start_location'];
|
||||
echo '<br><br>';
|
||||
?>
|
||||
<?php
|
||||
@ -873,7 +874,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
<img border="3" src = "<?php echo $satellite_url;?>" alt=" Satellite Image of location of Where PD was Done" style="width:100%;height:300px;border-color:#0191ed" /><br><br><br>
|
||||
|
||||
<?php if($pd_location_approach_img_url != "" ) {?>
|
||||
<!-- <?php if($pd_location_approach_img_url != "" ) {?>
|
||||
<table>
|
||||
<thead>
|
||||
<tr> <th>PD Location Approach</th> </tr>
|
||||
@ -885,7 +886,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
</tr>
|
||||
<tr> <td><?php echo $pd_location_approach_img_location .'<br>'.$pd_location_approach_img_date; ?></td> <td> </td> </tr>
|
||||
</table>
|
||||
<?php } ?>
|
||||
<?php } ?> -->
|
||||
<div id="page_break"></div>
|
||||
<br><p><b>Location Summary</b></p>
|
||||
<?php
|
||||
@ -905,14 +906,14 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
//($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 '<p style="text-align:justify;">';
|
||||
echo '<span contenteditable="true">The PD visit was done at </span><span class="tooltip">'. $address_type. '<span class="tooltiptext">Address Form - Type of Address </span></span><span contenteditable="true"> of the loan applicants. </span>';
|
||||
echo '<span contenteditable="true">The PD was telephonically done with the loan applicant(s) at </span><span class="tooltip">'. $address_type. '<span class="tooltiptext">Address Form - Type of Address </span></span><span contenteditable="true"> of the loan applicants. </span>';
|
||||
//echo '<span contenteditable="true">The </span><span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span><span contenteditable="true"> is </span><span class="tooltip">'.$property_owner_type.'<span class="tooltiptext">Business Assest Form - Owner of the Property </span></span><span contenteditable="true"> and the business has been in operation from here for the last</span> <span class="tooltip">'.$yrs_being_run.'<span class="tooltiptext">Business Assest Form - Business running Yrs in this premise </span></span><span contenteditable="true">.</span>';
|
||||
echo '<br><br><span contenteditable="true">The</span> <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is located in </span><span class="tooltip">'.$locality.'<span class="tooltiptext">Address Form - Locality of Address </span></span> <span contenteditable="true">and the estimated area of the</span> <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is</span> <span class="tooltip">'.$estimated_area.'<span class="tooltiptext">Address Form - Estimated Area </span></span> <span contenteditable="true">.</span>';
|
||||
echo '<br><br><span contenteditable="true">The PD location was </span><span class="tooltip">'. $pd_address['pd_location_master'].'<span class="tooltiptext">Address Form - Approach to PD location </span></span>. ' . '<span contenteditable="true">As Per PD Officer, the</span> <span class="tooltip">'.$address_type .'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is situated in</span><span class="tooltip"> '.$comment_locality_master .'<span class="tooltiptext">Address Form - Comment on locality </span></span> <span contenteditable="true">Locality.</span>';
|
||||
echo '<br><br><span contenteditable="true">The PD officer also made the following observations:</span>' ;
|
||||
echo '<br><ul>';
|
||||
//echo '<br><br><span contenteditable="true">The PD location was </span><span class="tooltip">'. $pd_address['pd_location_master'].'<span class="tooltiptext">Address Form - Approach to PD location </span></span>. ' . '<span contenteditable="true">As Per PD Officer, the</span> <span class="tooltip">'.$address_type .'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is situated in</span><span class="tooltip"> '.$comment_locality_master .'<span class="tooltiptext">Address Form - Comment on locality </span></span> <span contenteditable="true">Locality.</span>';
|
||||
// echo '<br><br><span contenteditable="true">The PD officer also made the following observations:</span>' ;
|
||||
// echo '<br><ul>';
|
||||
|
||||
echo '<li><span contenteditable="true"> The location of the</span><span class="tooltip"> '.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is</span> <span class="tooltip">'.$address_type_remarks_caption [ $final_remark_data['is_service_provided'] ].'<span class="tooltiptext">Final Remarks Form - The location of the busienss suitability for Business </span></span> <span contenteditable="true">to the nature of business. </span></li>';
|
||||
// echo '<li><span contenteditable="true"> The location of the</span><span class="tooltip"> '.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> <span contenteditable="true">is</span> <span class="tooltip">'.$address_type_remarks_caption [ $final_remark_data['is_service_provided'] ].'<span class="tooltiptext">Final Remarks Form - The location of the busienss suitability for Business </span></span> <span contenteditable="true">to the nature of business. </span></li>';
|
||||
|
||||
|
||||
|
||||
@ -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 '<span>During the PD visit, person met provide the following information about loan applied for:</span>';
|
||||
echo '<span> The following loan related information was provided by applicant.</span>';
|
||||
|
||||
$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 '<p>'.$existing_loan_form_common_remarks.'</p>';}
|
||||
?>
|
||||
<!-- #################end Existing Loan obligations section ################# -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- #################start neighbourhood/reference check #################-->
|
||||
<?php
|
||||
$existNeighRefCheck=array();
|
||||
$pd_offiecer_status_about_neighbor = "";
|
||||
foreach($pd_processed_forms[19] as $rowKey=> $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]);
|
||||
// }
|
||||
}
|
||||
?>
|
||||
|
||||
<h3 contenteditable="true">Neighbourhood / Reference Check</h3>
|
||||
<?php
|
||||
|
||||
//echo $pd_offiecer_status_about_neighbor;
|
||||
if(count($existNeighRefCheck)>0){
|
||||
//print_r($existNeighRefCheck);die();
|
||||
?>
|
||||
|
||||
<?php foreach($existNeighRefCheck as $nkey => $nfValue) {
|
||||
|
||||
echo $nfValue['neighbourhood_name_only'];
|
||||
?>
|
||||
|
||||
<ul>
|
||||
<li style="margin: 15px 0;"><?php echo $nfValue['neighbourhood_name']; ?></li>
|
||||
<li style="margin: 15px 0;"><?php echo $nfValue['neighbourhood_do_know']; ?></li>
|
||||
<li style="margin: 15px 0;"><?php echo $nfValue['neighbourhood_business_running_yr']; ?></li>
|
||||
<li style="margin: 15px 0;"><?php echo $nfValue['ownership']; ?>
|
||||
</ul>
|
||||
<?php }?>
|
||||
|
||||
<li style="margin: 15px 0;"> Neighbourhood Check Status is <span style="font-size:16px;font-weight:bold;"><?php echo $pd_offiecer_status_about_neighbor;?>.</span></li>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
else{?>
|
||||
<!-- <p>Status of check: Could Not Verify. <br>Neighbour Check was not possible due to Could not verify</p> -->
|
||||
<!-- <p>Neighbour Check was not possible due to Could not verify</p> -->
|
||||
<p>Status of the check: could not verify.<p>
|
||||
|
||||
<?php
|
||||
}
|
||||
if($neighbourhood_form_common_remarks != ""){ echo '<p>'. $neighbourhood_form_common_remarks.'</p>';}
|
||||
?>
|
||||
|
||||
<!-- #################end neighbourhood/reference check #################-->
|
||||
|
||||
<!-- #################Credit Manager Specific Query Section #################-->
|
||||
<?php
|
||||
@ -1711,7 +1643,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
<!-- #################Final Remarks Section#################-->
|
||||
<div class="page_break"></div>
|
||||
<br><h3 contenteditable="true">PD OFFICER`S REMARKS ON CUSTOMER BEHAVIOUR, BUSINESS LOCATION & OVERALL PD STATUS</h3>
|
||||
<br><h3 contenteditable="true">PD OFFICER`S REMARKS ON CUSTOMER BEHAVIOUR & OVERALL PD STATUS</h3>
|
||||
<?php
|
||||
//print_r($final_remark_data);
|
||||
$polite = null;$rude = null; $other_behaviour = null;$other_behaviour_remarks = null;
|
||||
@ -1795,18 +1727,18 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}?>
|
||||
|
||||
|
||||
<li>Suitability of Business Location: </li>
|
||||
<!-- <li>Suitability of Business Location: </li>
|
||||
<br><br>
|
||||
|
||||
<table>
|
||||
<!-- <tr>
|
||||
<tr>
|
||||
<td><div id="boxstyle3">Well Suited <?php if($well){?><span style='font-family: DejaVu Sans; sans-serif;font-size:12px'>✔</span><?php } ?></div></td>
|
||||
|
||||
<td><div id="boxstyle3">Fairly Suited <?php if($fair){?><span style='font-family: DejaVu Sans; sans-serif;font-size:12px'>✔</span><?php } ?></div></td>
|
||||
|
||||
<td><div id="boxstyle3">Not Suited <?php if($not){?><span style='font-family: DejaVu Sans; sans-serif;font-size:12px'>✔</span><?php } ?></div></td>
|
||||
</tr>-->
|
||||
<tr>
|
||||
<!-- <tr>
|
||||
<td >
|
||||
<div id="first_div" style="border-color:green;color:black;">Well Suited</div> <div id="tick_div" style="border-color:green;color:black;"><?php if($well){ echo $tick_mark; } ?></div>
|
||||
</td>
|
||||
@ -1820,7 +1752,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
</table> -->
|
||||
<br>
|
||||
<li>PD Officer’s overall assessment: </li>
|
||||
<br><br>
|
||||
Loading…
Reference in New Issue
Block a user