MONEY WISE COMANY FORMS
This commit is contained in:
parent
28299afd98
commit
2d23a02976
@ -4801,7 +4801,7 @@ public function getPDFormDetailsJSON_post()
|
|||||||
//Get Common Images
|
//Get Common Images
|
||||||
$data['pd_images']['common_images'] = $this->PD_Model->getSignedPDDocsURL($pdid,null,null,'common',null,'report');
|
$data['pd_images']['common_images'] = $this->PD_Model->getSignedPDDocsURL($pdid,null,null,'common',null,'report');
|
||||||
$temp = 'DEFAULT DATA';
|
$temp = 'DEFAULT DATA';
|
||||||
if($data['pd_master_details'][0]['lender_short_name'] == 'CLIX')
|
if($data['pd_master_details'][0]['lender_short_name'] == 'CLIX' || ($data['pd_master_details'][0]['lender_short_name'] == 'MONEYWISE' && $data['pd_master_details'][0]['product_abbr'] == 'BL'))
|
||||||
{
|
{
|
||||||
$temp = $this->load->view('report_templates/JSONTOREPORT_CLIX',$data,true);
|
$temp = $this->load->view('report_templates/JSONTOREPORT_CLIX',$data,true);
|
||||||
}
|
}
|
||||||
@ -6024,7 +6024,7 @@ public function getPDFormDetailsJSON_post()
|
|||||||
$t = "";
|
$t = "";
|
||||||
if(!count($add_on_pd))
|
if(!count($add_on_pd))
|
||||||
{
|
{
|
||||||
if($data['pd_master_details'][0]['lender_short_name'] == 'CLIX' || $data['pd_master_details'][0]['lender_short_name'] == 'MONEYWISE')
|
if($data['pd_master_details'][0]['lender_short_name'] == 'CLIX' || ($data['pd_master_details'][0]['lender_short_name'] == 'MONEYWISE' && $data['pd_master_details'][0]['product_abbr'] == 'BL'))
|
||||||
{
|
{
|
||||||
$t = $this->load->view('report_templates/JSONTOREPORT_CLIX',$data,true);
|
$t = $this->load->view('report_templates/JSONTOREPORT_CLIX',$data,true);
|
||||||
}
|
}
|
||||||
@ -6196,6 +6196,7 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
|||||||
//GET TEMPALE ID FROM MASTER
|
//GET TEMPALE ID FROM MASTER
|
||||||
$pd_master_details = $this->PD_Model->getPDMasterDetails($pd_id);
|
$pd_master_details = $this->PD_Model->getPDMasterDetails($pd_id);
|
||||||
$lender_short_name = $pd_master_details[0]['lender_short_name'];
|
$lender_short_name = $pd_master_details[0]['lender_short_name'];
|
||||||
|
$product_abbr = $pd_master_details[0]['product_abbr'];
|
||||||
//print_r($lender_short_name);
|
//print_r($lender_short_name);
|
||||||
$str = substr($pd_master_details[0]['customer_segment_abbr'],-2);
|
$str = substr($pd_master_details[0]['customer_segment_abbr'],-2);
|
||||||
//echo $str;
|
//echo $str;
|
||||||
@ -6239,7 +6240,7 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
|||||||
$form_array[] = array('form_id' => 1,'form_name' => 'Supplier Details');
|
$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' => 2,'form_name' => 'Client Details');
|
||||||
$form_array[] = array('form_id' => 11,'form_name' => 'Stock Details');
|
$form_array[] = array('form_id' => 11,'form_name' => 'Stock Details');
|
||||||
if(!strcasecmp($lender_short_name, 'CLIX') || !strcasecmp($lender_short_name, 'MONEYWISE'))
|
if(!strcasecmp($lender_short_name, 'CLIX') || (!strcasecmp($lender_short_name, 'MONEYWISE')) && !strcasecmp($product_abbr,'BL'))
|
||||||
{
|
{
|
||||||
$form_array[] = array('form_id' => 23,'form_name' => 'Future Plans & Business Environments');
|
$form_array[] = array('form_id' => 23,'form_name' => 'Future Plans & Business Environments');
|
||||||
}
|
}
|
||||||
@ -6256,7 +6257,7 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
|||||||
$form_array[] = array('form_id' => 2,'form_name' => 'Client Details');
|
$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' => 11,'form_name' => 'Stock Details');
|
||||||
$form_array[] = array('form_id' => 16,'form_name' => 'Assessed Income');
|
$form_array[] = array('form_id' => 16,'form_name' => 'Assessed Income');
|
||||||
if(!strcasecmp($lender_short_name, 'CLIX') || !strcasecmp($lender_short_name, 'MONEYWISE'))
|
if(!strcasecmp($lender_short_name, 'CLIX') || (!strcasecmp($lender_short_name, 'MONEYWISE')) && !strcasecmp($product_abbr,'BL'))
|
||||||
{
|
{
|
||||||
$form_array[] = array('form_id' => 23,'form_name' => 'Future Plans & Business Environments');
|
$form_array[] = array('form_id' => 23,'form_name' => 'Future Plans & Business Environments');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user