PROD LIVE ISSUES
This commit is contained in:
parent
f4e1642545
commit
2beb703fff
@ -379,6 +379,7 @@ class PD_Model extends SPARQ_Model {
|
||||
$this->db->JOIN(TITLES.' as TITLES','PDAPPLICANTSDETAILS.applicant_title_name = TITLES.title_id','LEFT');
|
||||
|
||||
$this->db->WHERE('PDAPPLICANTSDETAILS.fk_pd_id ',$pdid);
|
||||
$this->db->WHERE('PDAPPLICANTSDETAILS.isactive ',1);
|
||||
if($type)
|
||||
{
|
||||
//echo 'DOIDNO';
|
||||
|
||||
@ -3995,10 +3995,14 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
elseif (!strcasecmp($is_all_loan_details_availble,'no') && count($out_standing_loan_info))
|
||||
{
|
||||
|
||||
echo '<p>Loan applicant(s) have '.$out_standing_loan_info['tot_running_loans'].' existing loan(s) with '.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($out_standing_loan_info['tot_outstanding_loans']).' outstanding amount';
|
||||
echo $out_standing_loan_info['tot_emi_paid'] != '' || $out_standing_loan_info['tot_emi_paid'] != 0 ?' and '.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($out_standing_loan_info['tot_emi_paid']).' has been paid.' : '.';
|
||||
echo '</p>';
|
||||
?>
|
||||
The table below lists the details of Existing Loan Obligations of the Loan Applicants.
|
||||
<table class="scorecard_table"><thead><tr>
|
||||
<th>Total No of Running Loans</th><th>Total Outstanding Amount</th><th>Total EMI being Paid (Monthly)</th></tr></thead><tbody>
|
||||
<tr> <td class="customtd"><?php echo $out_standing_loan_info['tot_running_loans'] ?></td> <td class="customtd"><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($out_standing_loan_info['tot_outstanding_loans']) ?></td> <td class="customtd"><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($out_standing_loan_info['tot_emi_paid']) ?></td> </tr>
|
||||
</tbody></table>
|
||||
|
||||
<?php
|
||||
}
|
||||
else {?>
|
||||
<p>As per loan applicant he does not have any existing loan obligations.</p>
|
||||
|
||||
@ -1492,11 +1492,15 @@ if($total_no_of_business > 0) {
|
||||
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'] : '','key_name' => 'factory_cert_pic'));
|
||||
}
|
||||
if(array_key_exists('eb_bill',$businessRow) && strtoupper($businessRow['eb_bill'])=='YES'){
|
||||
array_push($getDocuments,array('name' => 'Electric Bill.','img' => isset($businessRow['eb_bill_pic']) ? $businessRow['eb_bill_pic'] : '','key_name' => 'eb_bill_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' => isset( $docValue['document_pic']) ? $docValue['document_pic'] : '','key_name' => $docValue['document']));
|
||||
}
|
||||
}
|
||||
|
||||
//print_r($getDocuments);
|
||||
if(count($getDocuments))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user