From fc3c4fc28ce0d78f2ccff6a32f6b4f51c3d9affa Mon Sep 17 00:00:00 2001 From: Velz2020 Date: Wed, 20 Nov 2019 20:12:22 +0530 Subject: [PATCH] SMC TO MWISE CHANGE OTHR ISSUES --- api/application/controllers/PD_Controller.php | 10 +++++----- .../views/report_templates/JSONTOREPORT_CLIX.php | 7 ++++--- .../views/report_templates/JSONTOREPORT_DI_AI.php | 3 ++- .../report_templates/JSONTOREPORT_DI_AI_ADDON.php | 3 ++- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index e8b5785c..f1262e0d 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -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'; } diff --git a/api/application/views/report_templates/JSONTOREPORT_CLIX.php b/api/application/views/report_templates/JSONTOREPORT_CLIX.php index e58eccbf..db27a774 100644 --- a/api/application/views/report_templates/JSONTOREPORT_CLIX.php +++ b/api/application/views/report_templates/JSONTOREPORT_CLIX.php @@ -2198,7 +2198,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); } - else{ echo "

Financials statements not provided by Loan Applicants to PD officer.

";} + else{ echo "

Financial statements not provided by Loan Applicants to PD officer.

";} ?> @@ -2217,6 +2217,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); +

As per Loan Applicant(s) met, the Financials are as below:

@@ -2650,7 +2651,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); @@ -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; diff --git a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php index 80663d3d..fc20e99c 100644 --- a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php +++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php @@ -2249,7 +2249,7 @@ if($total_no_of_business > 0) { } - else{ echo "

Financials statements not provided by Loan Applicants to PD officer.

";} + else{ echo "

Financial statements not provided by Loan Applicants to PD officer.

";} ?> @@ -2268,6 +2268,7 @@ if($total_no_of_business > 0) { +

As per Loan Applicant(s) met, the Financials are as below:

diff --git a/api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php b/api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php index 5605238e..1bb3eb8f 100644 --- a/api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php +++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php @@ -2494,7 +2494,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); } - else{ echo "

Financials statements not provided by Loan Applicants to PD officer.

";} + else{ echo "

Financial statements not provided by Loan Applicants to PD officer.

";} ?> @@ -2513,6 +2513,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); +

As per Loan Applicant(s) met, the Financials are as below: