SMC TO MWISE CHANGE OTHR ISSUES

This commit is contained in:
Velz2020 2019-11-20 20:12:22 +05:30
parent 185083045e
commit fc3c4fc28c
4 changed files with 13 additions and 10 deletions

View File

@ -4656,7 +4656,7 @@ public function getPDFormDetailsJSON_post()
//Get Common Images
$data['pd_images']['common_images'] = $this->PD_Model->getSignedPDDocsURL($pdid,null,null,'common',null,'report');
$temp = 'DEFAULT DATA';
if($data['pd_master_details'][0]['lender_short_name'] == 'CLIX' || ($data['pd_master_details'][0]['lender_short_name'] == 'SMC'))// && $data['pd_master_details'][0]['product_abbr'] == 'BL'))
if($data['pd_master_details'][0]['lender_short_name'] == 'CLIX' || ($data['pd_master_details'][0]['lender_short_name'] == 'MWISE'))// && $data['pd_master_details'][0]['product_abbr'] == 'BL'))
{
$temp = $this->load->view('report_templates/JSONTOREPORT_CLIX',$data,true);
}
@ -5880,7 +5880,7 @@ public function getPDFormDetailsJSON_post()
$t = "";
if(!count($add_on_pd))
{
if($data['pd_master_details'][0]['lender_short_name'] == 'CLIX' || ($data['pd_master_details'][0]['lender_short_name'] == 'SMC'))// && $data['pd_master_details'][0]['product_abbr'] == 'BL'))
if($data['pd_master_details'][0]['lender_short_name'] == 'CLIX' || ($data['pd_master_details'][0]['lender_short_name'] == 'MWISE'))// && $data['pd_master_details'][0]['product_abbr'] == 'BL'))
{
$t = $this->load->view('report_templates/JSONTOREPORT_CLIX',$data,true);
}
@ -6096,7 +6096,7 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
$form_array[] = array('form_id' => 1,'form_name' => 'Supplier Details');
$form_array[] = array('form_id' => 2,'form_name' => 'Client Details');
$form_array[] = array('form_id' => 11,'form_name' => 'Stock Details');
if(!strcasecmp($lender_short_name, 'CLIX') || (!strcasecmp($lender_short_name, 'SMC')) && !strcasecmp($product_abbr,'LFMP'))
if(!strcasecmp($lender_short_name, 'CLIX') || (!strcasecmp($lender_short_name, 'MWISE')) && !strcasecmp($product_abbr,'LFMP'))
{
$form_array[] = array('form_id' => 23,'form_name' => 'Future Plans & Business Environments');
}
@ -6113,7 +6113,7 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
$form_array[] = array('form_id' => 2,'form_name' => 'Client Details');
$form_array[] = array('form_id' => 11,'form_name' => 'Stock Details');
$form_array[] = array('form_id' => 16,'form_name' => 'Assessed Income');
if(!strcasecmp($lender_short_name, 'CLIX') || (!strcasecmp($lender_short_name, 'SMC')) && !strcasecmp($product_abbr,'LFMP'))
if(!strcasecmp($lender_short_name, 'CLIX') || (!strcasecmp($lender_short_name, 'MWISE')) && !strcasecmp($product_abbr,'LFMP'))
{
$form_array[] = array('form_id' => 23,'form_name' => 'Future Plans & Business Environments');
}
@ -8043,7 +8043,7 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
$incomplete_details[] = 'Business Section - Company Employees Details Not Filled';
}
if( ($pd_master_details[0]['lender_short_name'] != 'CLIX' && $pd_master_details[0]['lender_short_name'] != 'SMC') && !is_numeric($business_form['employees_temporary']))
if( ($pd_master_details[0]['lender_short_name'] != 'CLIX' && $pd_master_details[0]['lender_short_name'] != 'MWISE') && !is_numeric($business_form['employees_temporary']))
{
$incomplete_details[] = 'Business Section - Company Employees Details Not Filled';
}

View File

@ -2198,7 +2198,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
}
else{ echo "<p>Financials statements not provided by Loan Applicants to PD officer. </p>";}
else{ echo "<p>Financial statements not provided by Loan Applicants to PD officer. </p>";}
?>
@ -2217,6 +2217,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?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>
<table class="scorecard_table">
<thead>
<tr>
@ -2650,7 +2651,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?php echo $client_fourth_row?>
<?php
if($pd_master_details[0]['lender_short_name'] == 'SMC')
if($pd_master_details[0]['lender_short_name'] == 'MWISE')
{
?>
<?php echo $client_fifth_row?>
@ -2935,7 +2936,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
echo $supplier_third_row;
echo $supplier_fourth_row;
if($pd_master_details[0]['lender_short_name'] == 'SMC')
if($pd_master_details[0]['lender_short_name'] == 'MWISE')
{
echo $supplier_fifth_row;

View File

@ -2249,7 +2249,7 @@ if($total_no_of_business > 0) {
}
else{ echo "<p>Financials statements not provided by Loan Applicants to PD officer. </p>";}
else{ echo "<p>Financial statements not provided by Loan Applicants to PD officer. </p>";}
?>
@ -2268,6 +2268,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>
<table class="scorecard_table">
<thead>
<tr>

View File

@ -2494,7 +2494,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
}
else{ echo "<p>Financials statements not provided by Loan Applicants to PD officer. </p>";}
else{ echo "<p>Financial statements not provided by Loan Applicants to PD officer. </p>";}
?>
@ -2513,6 +2513,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?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>
<table class="scorecard_table">
<thead>
<tr>