NEW LENDER REPORT CHNAGES
This commit is contained in:
parent
699acfeedf
commit
2f461c3896
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$loan_word = $pd_master_details[0]['lender_short_name'] != 'CFPL' ? 'Loan' : 'Facility';
|
||||
|
||||
?>
|
||||
|
||||
@ -545,7 +546,7 @@ if ( isset($pdf) ) {
|
||||
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>Loan Application ID </td> <td style="width:2%;">:</td> <td> '.$pd_master_details[0]['lender_applicant_id'].'</td></tr>';
|
||||
echo '<tr><td>'.$loan_word.' 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>';
|
||||
?>
|
||||
@ -555,7 +556,7 @@ if ( isset($pdf) ) {
|
||||
<?php
|
||||
//echo "<p>Loan Amount Applied For : </p>";
|
||||
//echo '<table align="center">
|
||||
echo '<tr> <td >Loan Amount<br>(As Per PD Initiation) </td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px">₹</span>' .' '. MYUTIL::customIndianNumberFormat($pd_master_details[0]['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($pd_master_details[0]['loan_amount']) .')</span></td> </tr><tr> <td>Loan Amount<br>(As Per Loan Applicants during PD)</td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px;word-wrap:break-word">₹</span>' .' '. MYUTIL::customIndianNumberFormat($loan_form['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($loan_form['loan_amount']) .')</span></td> </tr>';
|
||||
echo '<tr> <td >'.$loan_word.' Amount<br>(As Per PD Initiation) </td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px">₹</span>' .' '. MYUTIL::customIndianNumberFormat($pd_master_details[0]['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($pd_master_details[0]['loan_amount']) .')</span></td> </tr><tr> <td>'.$loan_word.' Amount<br>(As Per '.$loan_word.' Applicants during PD)</td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px;word-wrap:break-word">₹</span>' .' '. MYUTIL::customIndianNumberFormat($loan_form['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($loan_form['loan_amount']) .')</span></td> </tr>';
|
||||
echo '</tbody></table>';
|
||||
//echo "<div class='page_break'></div>";
|
||||
echo "<br><br>";
|
||||
@ -711,7 +712,7 @@ if ( isset($pdf) ) {
|
||||
|
||||
<br>
|
||||
|
||||
<p contenteditable="true"><b>Loan Applicants:</b></p>
|
||||
<p contenteditable="true"><b><?php echo $loan_word;?> Applicants:</b></p>
|
||||
<table class="scorecard_table">
|
||||
|
||||
<tr> <th>Name</th> <th>Age<br>(Yrs/Mns)</th> <th>Qualification / Type of Entity</th> <th>Relationships</th> </tr>
|
||||
@ -1127,7 +1128,7 @@ if ( isset($pdf) ) {
|
||||
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 '<p style="text-align:justify;">';
|
||||
echo 'The PD visit was done at <span class="tooltip">'. $address_type. '<span class="tooltiptext">Address Form - Type of Address </span></span> of the loan applicants.';
|
||||
echo 'The PD visit was done at <span class="tooltip">'. $address_type. '<span class="tooltiptext">Address Form - Type of Address </span></span> of the '.strtolower($loan_word).' applicants.';
|
||||
echo 'The <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> is <span class="tooltip">'.$property_owner_type.'<span class="tooltiptext">Business Assest Form - Owner of the Property </span></span> and the business has been in operation from here for the last <span class="tooltip">'.$yrs_being_run.'<span class="tooltiptext">Business Assest Form - Business running Yrs in this premise </span></span>.';
|
||||
echo '<br><br>The <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> is located in <span class="tooltip">'.$locality.'<span class="tooltiptext">Address Form - Locality of Address </span></span> '.($estimated_area != 0? 'and the estimated area of the <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> is <span class="tooltip">'.$estimated_area.'<span class="tooltiptext">Address Form - Estimated Area </span></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>';
|
||||
@ -1225,12 +1226,12 @@ if ( isset($pdf) ) {
|
||||
|
||||
|
||||
<!-- ####################### Loan Details Details Section ############################-->
|
||||
<p contenteditable="true"><b>LOAN DETAILS:</b></p>
|
||||
<p contenteditable="true"><b><?php echo strtoupper($loan_word)?> DETAILS:</b></p>
|
||||
<?php
|
||||
|
||||
//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>During the PD visit, person met provide the following information about '.strtolower($loan_word).' 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;
|
||||
@ -1241,13 +1242,13 @@ if ( isset($pdf) ) {
|
||||
// die();
|
||||
$loan_table_dispaly_rows = array();
|
||||
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Total Loan Amount applied for','details' => "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"." ".$loan_amount.' ('.MYUTIL::numtowords($loan_form['loan_amount']).')');
|
||||
$loan_table_dispaly_rows[] = array('particulars' => ('Total '.$loan_word.' Amount applied for'),'details' => "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"." ".$loan_amount.' ('.MYUTIL::numtowords($loan_form['loan_amount']).')');
|
||||
if(($is_current_product_bl || $is_current_product_laep) && $pd_master_details[0]['lender_short_name'] != 'UDAAN')
|
||||
{
|
||||
$to_dispaly = !strcasecmp($loan_form['is_there_total_fund'], 'yes disclose') ? ('Disclosed '."<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"." ".MYUTIL::customIndianNumberFormat($loan_form['fund_amt']).' ('.MYUTIL::numtowords($loan_form['fund_amt']).')'):'Not Disclosed';
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Total Fund Requirement','details' => $to_dispaly);
|
||||
}
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Loan Tenure expected','details' => $loan_form['loan_tenure'] != "" ? $loan_form['loan_tenure'].' Months' : 'Not provided');
|
||||
$loan_table_dispaly_rows[] = array('particulars' => ($loan_word.' Tenure expected'),'details' => $loan_form['loan_tenure'] != "" ? $loan_form['loan_tenure'].' Months' : 'Not provided');
|
||||
|
||||
$end_use = '';
|
||||
$to_remove_for = false;
|
||||
@ -1272,7 +1273,7 @@ if ( isset($pdf) ) {
|
||||
}
|
||||
}
|
||||
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Loan Purpose','details' => $end_use);
|
||||
$loan_table_dispaly_rows[] = array('particulars' => ($loan_word.' Purpose'),'details' => $end_use);
|
||||
|
||||
if(strcasecmp($loan_form['is_transfer'],'no'))
|
||||
{
|
||||
@ -1356,7 +1357,7 @@ if ( isset($pdf) ) {
|
||||
?>
|
||||
<br><br>
|
||||
<table class="scorecard_table_resonal_assest">
|
||||
<tr> <th style="text-align:center;">S.No</th> <th>Loan Particulars</th> <th>Loan Particular Details</th> </tr>
|
||||
<tr> <th style="text-align:center;">S.No</th> <th><?php echo $loan_word;?> Particulars</th> <th><?php echo $loan_word;?> Particular Details</th> </tr>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach($loan_table_dispaly_rows as $row_key => $row)
|
||||
@ -2298,7 +2299,7 @@ if($total_no_of_business > 0) {
|
||||
|
||||
|
||||
}
|
||||
else { if($pd_master_details[0]['fk_pd_type'] == 1) { echo "<p>Financial statements not provided by Loan Applicants to PD officer. </p>";} }
|
||||
else { if($pd_master_details[0]['fk_pd_type'] == 1) { echo "<p>Financial statements not provided by ".$loan_word." Applicants to PD officer. </p>";} }
|
||||
?>
|
||||
|
||||
|
||||
@ -2317,7 +2318,7 @@ if($total_no_of_business > 0) {
|
||||
<?php foreach($iterateFinance['customer_statements'] as $csRow){
|
||||
if(!strcasecmp($csRow['estimate_net_margin_availablity'],'yes')){
|
||||
?>
|
||||
<p> As per Loan Applicant(s) met, the Financials are as below: </p>
|
||||
<p> As per <?php echo $loan_word;?> Applicant(s) met, the Financials are as below: </p>
|
||||
<table class="scorecard_table">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -3908,7 +3909,7 @@ if($total_no_of_business > 0) {
|
||||
<th>Asset Owned By</th>
|
||||
<th>Approx Market Value(Rs)</th>
|
||||
<th>Age of the Assest</th>
|
||||
<th>Loan Again Assest</th>
|
||||
<th><?php echo $loan_word?> Again Assest</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -4019,7 +4020,7 @@ if($total_no_of_business > 0) {
|
||||
}
|
||||
?>
|
||||
<br>
|
||||
<h3 contenteditable="true">Other Sources of Income of Individual Loan Applicants:</h3>
|
||||
<h3 contenteditable="true">Other Sources of Income of Individual <?php echo $loan_word;?> Applicants:</h3>
|
||||
<?php if($is_other_income_available != null){
|
||||
//print_r($otherIncomeResult);die();
|
||||
?>
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$loan_word = $pd_master_details[0]['lender_short_name'] != 'CFPL' ? 'Loan' : 'Facility';
|
||||
|
||||
?>
|
||||
|
||||
@ -552,7 +553,7 @@ if ( isset($pdf) ) {
|
||||
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>Loan Application ID </td> <td style="width:2%;">:</td> <td> '.$pd_master_details[0]['lender_applicant_id'].'</td></tr>';
|
||||
echo '<tr><td>'.$loan_word.' 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>';
|
||||
?>
|
||||
@ -562,7 +563,7 @@ if ( isset($pdf) ) {
|
||||
<?php
|
||||
//echo "<p>Loan Amount Applied For : </p>";
|
||||
//echo '<table align="center">
|
||||
echo '<tr> <td >Loan Amount<br>(As Per PD Initiation) </td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px">₹</span>' .' '. MYUTIL::customIndianNumberFormat($pd_master_details[0]['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($pd_master_details[0]['loan_amount']) .')</span></td> </tr><tr> <td>Loan Amount<br>(As Per Loan Applicants during PD)</td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px;word-wrap:break-word">₹</span>' .' '. MYUTIL::customIndianNumberFormat($loan_form['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($loan_form['loan_amount']) .')</span></td> </tr>';
|
||||
echo '<tr> <td >'.$loan_word.' Amount<br>(As Per PD Initiation) </td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px">₹</span>' .' '. MYUTIL::customIndianNumberFormat($pd_master_details[0]['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($pd_master_details[0]['loan_amount']) .')</span></td> </tr><tr> <td>'.$loan_word.' Amount<br>(As Per '.$loan_word.' Applicants during PD)</td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px;word-wrap:break-word">₹</span>' .' '. MYUTIL::customIndianNumberFormat($loan_form['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($loan_form['loan_amount']) .')</span></td> </tr>';
|
||||
echo '</tbody></table>';
|
||||
//echo "<div class='page_break'></div>";
|
||||
echo "<br><br>";
|
||||
@ -715,7 +716,7 @@ if ( isset($pdf) ) {
|
||||
|
||||
<br>
|
||||
|
||||
<p contenteditable="true"><b>Loan Applicants:</b></p>
|
||||
<p contenteditable="true"><b><?php echo $loan_word;?> Applicants:</b></p>
|
||||
<table class="scorecard_table">
|
||||
|
||||
<tr> <th>Name</th> <th>Age<br>(Yrs/Mns)</th> <th>Qualification / Type of Entity</th> <th>Relationships</th> </tr>
|
||||
@ -1124,7 +1125,7 @@ if ( isset($pdf) ) {
|
||||
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 '<p style="text-align:justify;">';
|
||||
echo 'The PD visit was done at <span class="tooltip">'. $address_type. '<span class="tooltiptext">Address Form - Type of Address </span></span> of the loan applicants.';
|
||||
echo 'The PD visit was done at <span class="tooltip">'. $address_type. '<span class="tooltiptext">Address Form - Type of Address </span></span> of the '.strtolower($loan_word).' applicants.';
|
||||
echo 'The <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> is <span class="tooltip">'.$property_owner_type.'<span class="tooltiptext">Business Assest Form - Owner of the Property </span></span> and the business has been in operation from here for the last <span class="tooltip">'.$yrs_being_run.'<span class="tooltiptext">Business Assest Form - Business running Yrs in this premise </span></span>.';
|
||||
echo '<br><br>The <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> is located in <span class="tooltip">'.$locality.'<span class="tooltiptext">Address Form - Locality of Address </span></span> '.($estimated_area != 0? 'and the estimated area of the <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> is <span class="tooltip">'.$estimated_area.'<span class="tooltiptext">Address Form - Estimated Area </span></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>';
|
||||
@ -1222,7 +1223,7 @@ if ( isset($pdf) ) {
|
||||
|
||||
|
||||
<!-- ####################### Loan Details Details Section ############################-->
|
||||
<p contenteditable="true"><b>LOAN DETAILS:</b></p>
|
||||
<p contenteditable="true"><b><?php echo $loan_word;?> DETAILS:</b></p>
|
||||
<?php
|
||||
|
||||
//print_r($loan_form);die();
|
||||
@ -1238,13 +1239,13 @@ if ( isset($pdf) ) {
|
||||
// die();
|
||||
$loan_table_dispaly_rows = array();
|
||||
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Total Loan Amount applied for','details' => "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"." ".$loan_amount.' ('.MYUTIL::numtowords($loan_form['loan_amount']).')');
|
||||
$loan_table_dispaly_rows[] = array('particulars' => ('Total '.$loan_word.' Amount applied for'),'details' => "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"." ".$loan_amount.' ('.MYUTIL::numtowords($loan_form['loan_amount']).')');
|
||||
if(($is_current_product_bl || $is_current_product_laep) && $pd_master_details[0]['lender_short_name'] != 'UDAAN')
|
||||
{
|
||||
$to_dispaly = !strcasecmp($loan_form['is_there_total_fund'], 'yes disclose') ? ('Disclosed '."<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"." ".MYUTIL::customIndianNumberFormat($loan_form['fund_amt']).' ('.MYUTIL::numtowords($loan_form['fund_amt']).')'):'Not Disclosed';
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Total Fund Requirement','details' => $to_dispaly);
|
||||
}
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Loan Tenure expected','details' => $loan_form['loan_tenure'] != "" ? $loan_form['loan_tenure'].' Months' : 'Not provided');
|
||||
$loan_table_dispaly_rows[] = array('particulars' => ($loan_word.' Tenure expected'),'details' => $loan_form['loan_tenure'] != "" ? $loan_form['loan_tenure'].' Months' : 'Not provided');
|
||||
|
||||
$end_use = '';
|
||||
$to_remove_for = false;
|
||||
@ -1269,7 +1270,7 @@ if ( isset($pdf) ) {
|
||||
}
|
||||
}
|
||||
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Loan Purpose','details' => $end_use);
|
||||
$loan_table_dispaly_rows[] = array('particulars' => ($loan_word.' Purpose'),'details' => $end_use);
|
||||
|
||||
if(strcasecmp($loan_form['is_transfer'],'no'))
|
||||
{
|
||||
@ -1353,7 +1354,7 @@ if ( isset($pdf) ) {
|
||||
?>
|
||||
<br><br>
|
||||
<table class="scorecard_table_resonal_assest">
|
||||
<tr> <th style="text-align:center;">S.No</th> <th>Loan Particulars</th> <th>Loan Particular Details</th> </tr>
|
||||
<tr> <th style="text-align:center;">S.No</th> <th><?php echo $loan_word;?> Particulars</th> <th><?php echo $loan_word;?> Particular Details</th> </tr>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach($loan_table_dispaly_rows as $row_key => $row)
|
||||
@ -2295,7 +2296,7 @@ if($total_no_of_business > 0) {
|
||||
|
||||
|
||||
}
|
||||
else { if($pd_master_details[0]['fk_pd_type'] == 1) { echo "<p>Financial statements not provided by Loan Applicants to PD officer. </p>";} }
|
||||
else { if($pd_master_details[0]['fk_pd_type'] == 1) { echo "<p>Financial statements not provided by ".$loan_word." Applicants to PD officer. </p>";} }
|
||||
?>
|
||||
|
||||
|
||||
@ -2314,7 +2315,7 @@ if($total_no_of_business > 0) {
|
||||
<?php foreach($iterateFinance['customer_statements'] as $csRow){
|
||||
if(!strcasecmp($csRow['estimate_net_margin_availablity'],'yes')){
|
||||
?>
|
||||
<p> As per Loan Applicant(s) met, the Financials are as below: </p>
|
||||
<p> As per <?php echo $loan_word;?> Applicant(s) met, the Financials are as below: </p>
|
||||
<table class="scorecard_table">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -3905,7 +3906,7 @@ if($total_no_of_business > 0) {
|
||||
<th>Asset Owned By</th>
|
||||
<th>Approx Market Value(Rs)</th>
|
||||
<th>Age of the Assest</th>
|
||||
<th>Loan Again Assest</th>
|
||||
<th><?php echo $loan_word;?> Again Assest</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -4016,7 +4017,7 @@ if($total_no_of_business > 0) {
|
||||
}
|
||||
?>
|
||||
<br>
|
||||
<h3 contenteditable="true">Other Sources of Income of Individual Loan Applicants:</h3>
|
||||
<h3 contenteditable="true">Other Sources of Income of Individual <?php echo $loan_word;?> Applicants:</h3>
|
||||
<?php if($is_other_income_available != null){
|
||||
//print_r($otherIncomeResult);die();
|
||||
?>
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$loan_word = $pd_master_details[0]['lender_short_name'] != 'CFPL' ? 'Loan' : 'Facility';
|
||||
|
||||
?>
|
||||
|
||||
@ -547,7 +548,7 @@ if ( isset($pdf) ) {
|
||||
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>'.$loan_word.' 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>';
|
||||
?>
|
||||
@ -557,7 +558,7 @@ if ( isset($pdf) ) {
|
||||
<?php
|
||||
//echo "<p>Loan Amount Applied For : </p>";
|
||||
//echo '<table align="center">
|
||||
echo '<tr> <td >Loan Amount<br>(As Per PD Initiation) </td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px">₹</span>' .' '. MYUTIL::customIndianNumberFormat($pd_master_details[0]['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($pd_master_details[0]['loan_amount']) .')</span></td> </tr><tr> <td>Loan Amount<br>(As Per Loan Applicants during PD)</td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px;word-wrap:break-word">₹</span>' .' '. MYUTIL::customIndianNumberFormat($loan_form['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($loan_form['loan_amount']) .')</span></td> </tr>';
|
||||
echo '<tr> <td >'.$loan_word.' Amount<br>(As Per PD Initiation) </td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px">₹</span>' .' '. MYUTIL::customIndianNumberFormat($pd_master_details[0]['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($pd_master_details[0]['loan_amount']) .')</span></td> </tr><tr> <td>'.$loan_word.' Amount<br>(As Per '.$loan_word.' Applicants during PD)</td> <td style="width:2%;">:</td> <td><span style="font-family: DejaVu Sans; sans-serif;font-size:10px;word-wrap:break-word">₹</span>' .' '. MYUTIL::customIndianNumberFormat($loan_form['loan_amount']). '<br><span style="font-size:10px;">('. MYUTIL::numtowords($loan_form['loan_amount']) .')</span></td> </tr>';
|
||||
echo '</tbody></table>';
|
||||
//echo "<div class='page_break'></div>";
|
||||
echo "<br><br>";
|
||||
@ -713,7 +714,7 @@ if ( isset($pdf) ) {
|
||||
|
||||
<br>
|
||||
|
||||
<p contenteditable="true"><b>Loan Applicants:</b></p>
|
||||
<p contenteditable="true"><b><?php echo $loan_word;?> Applicants:</b></p>
|
||||
<table class="scorecard_table">
|
||||
|
||||
<tr> <th>Name</th> <th>Age<br>(Yrs/Mns)</th> <th>Qualification / Type of Entity</th> <th>Relationships</th> </tr>
|
||||
@ -1119,7 +1120,7 @@ if ( isset($pdf) ) {
|
||||
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 '<p style="text-align:justify;">';
|
||||
echo 'The PD was telephonically done with the loan applicant(s) at <span class="tooltip">'. $address_type. '<span class="tooltiptext">Address Form - Type of Address </span></span>. ';
|
||||
echo 'The PD was telephonically done with the '.strtolower($loan_word).' applicant(s) at <span class="tooltip">'. $address_type. '<span class="tooltiptext">Address Form - Type of Address </span></span>. ';
|
||||
echo 'The <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> is <span class="tooltip">'.$property_owner_type.'<span class="tooltiptext">Business Assest Form - Owner of the Property </span></span> and the business has been in operation from here for the last <span class="tooltip">'.$yrs_being_run.'<span class="tooltiptext">Business Assest Form - Business running Yrs in this premise </span></span>.';
|
||||
echo '<br><br>The <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> is located in <span class="tooltip">'.$locality.'<span class="tooltiptext">Address Form - Locality of Address </span></span> '.($estimated_area != 0? 'and the estimated area of the <span class="tooltip">'.$address_type.'<span class="tooltiptext">Address Form - Type of Address </span></span> is <span class="tooltip">'.$estimated_area.'<span class="tooltiptext">Address Form - Estimated Area </span></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>';
|
||||
@ -1229,7 +1230,7 @@ if ( isset($pdf) ) {
|
||||
|
||||
|
||||
<!-- ####################### Loan Details Details Section ############################-->
|
||||
<p contenteditable="true"><b>LOAN DETAILS:</b></p>
|
||||
<p contenteditable="true"><b><?php echo $loan_word;?> DETAILS:</b></p>
|
||||
<?php
|
||||
|
||||
//print_r($loan_form);die();
|
||||
@ -1245,13 +1246,13 @@ if ( isset($pdf) ) {
|
||||
// die();
|
||||
$loan_table_dispaly_rows = array();
|
||||
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Total Loan Amount applied for','details' => "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"." ".$loan_amount.' ('.MYUTIL::numtowords($loan_form['loan_amount']).')');
|
||||
$loan_table_dispaly_rows[] = array('particulars' => ('Total '.$loan_word.' Amount applied for'),'details' => "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"." ".$loan_amount.' ('.MYUTIL::numtowords($loan_form['loan_amount']).')');
|
||||
if($is_current_product_bl || $is_current_product_laep)
|
||||
{
|
||||
$to_dispaly = !strcasecmp($loan_form['is_there_total_fund'], 'yes disclose') ? ('Disclosed '."<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"." ".MYUTIL::customIndianNumberFormat($loan_form['fund_amt']).' ('.MYUTIL::numtowords($loan_form['fund_amt']).')'):'Not Disclosed';
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Total Fund Requirement','details' => $to_dispaly);
|
||||
}
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Loan Tenure expected','details' => $loan_form['loan_tenure'] != "" ? $loan_form['loan_tenure'].' Months' : 'Not provided');
|
||||
$loan_table_dispaly_rows[] = array('particulars' => ($loan_word.' Tenure expected'),'details' => $loan_form['loan_tenure'] != "" ? $loan_form['loan_tenure'].' Months' : 'Not provided');
|
||||
|
||||
$end_use = '';
|
||||
$to_remove_for = false;
|
||||
@ -1276,7 +1277,7 @@ if ( isset($pdf) ) {
|
||||
}
|
||||
}
|
||||
|
||||
$loan_table_dispaly_rows[] = array('particulars' => 'Loan Purpose','details' => $end_use);
|
||||
$loan_table_dispaly_rows[] = array('particulars' => ($loan_word.' Purpose'),'details' => $end_use);
|
||||
|
||||
if(strcasecmp($loan_form['is_transfer'],'no'))
|
||||
{
|
||||
@ -1357,7 +1358,7 @@ if ( isset($pdf) ) {
|
||||
?>
|
||||
<br><br>
|
||||
<table class="scorecard_table_resonal_assest">
|
||||
<tr> <th style="text-align:center;">S.No</th> <th>Loan Particulars</th> <th>Loan Particular Details</th> </tr>
|
||||
<tr> <th style="text-align:center;">S.No</th> <th><?php echo $loan_word;?> Particulars</th> <th><?php echo $loan_word;?> Particular Details</th> </tr>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach($loan_table_dispaly_rows as $row_key => $row)
|
||||
@ -2319,7 +2320,7 @@ if($total_no_of_business > 0) {
|
||||
<?php foreach($iterateFinance['customer_statements'] as $csRow){
|
||||
if(!strcasecmp($csRow['estimate_net_margin_availablity'],'yes')){
|
||||
?>
|
||||
<p> As per Loan Applicant(s), the Financials are as below: </p>
|
||||
<p> As per <?php echo $loan_word;?> Applicant(s), the Financials are as below: </p>
|
||||
<table class="scorecard_table">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -3907,7 +3908,7 @@ if($total_no_of_business > 0) {
|
||||
<th>Asset Owned By</th>
|
||||
<th>Approx Market Value(Rs)</th>
|
||||
<th>Age of the Assest</th>
|
||||
<th>Loan Again Assest</th>
|
||||
<th><?php echo $loan_word; ?> Again Assest</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -4018,7 +4019,7 @@ if($total_no_of_business > 0) {
|
||||
}
|
||||
?>
|
||||
<br>
|
||||
<h3 contenteditable="true">Other Sources of Income of Individual Loan Applicants:</h3>
|
||||
<h3 contenteditable="true">Other Sources of Income of Individual <?php echo $loan_word; ?> Applicants:</h3>
|
||||
<?php if($is_other_income_available != null){
|
||||
//print_r($otherIncomeResult);die();
|
||||
?>
|
||||
|
||||
@ -979,7 +979,7 @@ $business_pd_visited_remark = (isset($pd_section_data[8]['business_pd_visited_re
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="7">Debtor days </td>
|
||||
<td colspan="7">Creditor Days </td>
|
||||
<?php
|
||||
|
||||
foreach ($pd_section_data[10]['financial_info'] as $fy_key => $fy_value)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user