From 7e76c7080999401f374a9871479c66c4a122259a Mon Sep 17 00:00:00 2001 From: Raj-at-840620226347 Date: Wed, 26 Feb 2020 13:42:22 +0530 Subject: [PATCH] NEIGHBOURHOOD HIDE SAL DETAILS ONLY --- .../views/report_templates/JSONTOREPORT_CLIX.php | 6 +++--- .../views/report_templates/JSONTOREPORT_DI_AI.php | 6 +++--- .../report_templates/JSONTOREPORT_DI_AI_ADDON.php | 6 +++--- .../views/report_templates/JSONTOREPORT_RI.php | 6 +++--- .../views/report_templates/JSONTOREPORT_SAL.php | 12 ++++++------ 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/api/application/views/report_templates/JSONTOREPORT_CLIX.php b/api/application/views/report_templates/JSONTOREPORT_CLIX.php index c947a563..12d8c287 100644 --- a/api/application/views/report_templates/JSONTOREPORT_CLIX.php +++ b/api/application/views/report_templates/JSONTOREPORT_CLIX.php @@ -1212,9 +1212,9 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $loan_amount = MYUTIL::customIndianNumberFormat( $loan_form['loan_amount']); echo 'During the PD visit, person met provide the following information about loan applied for:'; - $is_current_product_bl = $pd_master_details[0]['product_abbr'] == "BL" ? true: false; - $is_current_product_lab = $pd_master_details[0]['product_abbr'] == "LAP" ? true: false; - $is_current_product_laep = $pd_master_details[0]['product_abbr'] == "LAEP" ? true: false; + $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; + $is_current_product_laep = $pd_master_details[0]['prod_catagory'] == "LAEP" ? true: false; // echo $pd_master_details[0]['product_abbr']; // echo '-bl-'. $is_current_product_bl; // echo '-lap-'.$is_current_product_lab; diff --git a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php index 145542b2..3a2cd4a0 100644 --- a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php +++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php @@ -1225,9 +1225,9 @@ if ( isset($pdf) ) { $loan_amount = MYUTIL::customIndianNumberFormat($loan_form['loan_amount']); echo 'During the PD visit, person met provide the following information about loan applied for:'; - $is_current_product_bl = $pd_master_details[0]['product_abbr'] == "BL" ? true: false; - $is_current_product_lab = $pd_master_details[0]['product_abbr'] == "LAP" ? true: false; - $is_current_product_laep = $pd_master_details[0]['product_abbr'] == "LAEP" ? true: false; + $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; + $is_current_product_laep = $pd_master_details[0]['prod_catagory'] == "LAEP" ? true: false; // echo $pd_master_details[0]['product_abbr']; // echo '-bl-'. $is_current_product_bl; // echo '-lap-'.$is_current_product_lab; 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 3c418d6d..bf968aeb 100644 --- a/api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php +++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php @@ -1462,9 +1462,9 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $loan_amount = MYUTIL::customIndianNumberFormat($loan_form['loan_amount']); echo 'During the PD visit, person met provide the following information about loan applied for:'; - $is_current_product_bl = $pd_master_details[0]['product_abbr'] == "BL" ? true: false; - $is_current_product_lab = $pd_master_details[0]['product_abbr'] == "LAP" ? true: false; - $is_current_product_laep = $pd_master_details[0]['product_abbr'] == "LAEP" ? true: false; + $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; + $is_current_product_laep = $pd_master_details[0]['prod_catagory'] == "LAEP" ? true: false; // echo $pd_master_details[0]['product_abbr']; // echo '-bl-'. $is_current_product_bl; // echo '-lap-'.$is_current_product_lab; diff --git a/api/application/views/report_templates/JSONTOREPORT_RI.php b/api/application/views/report_templates/JSONTOREPORT_RI.php index 9012712a..d27cb8e1 100644 --- a/api/application/views/report_templates/JSONTOREPORT_RI.php +++ b/api/application/views/report_templates/JSONTOREPORT_RI.php @@ -994,9 +994,9 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $loan_amount = MYUTIL::customIndianNumberFormat($loan_form['loan_amount']); echo 'During the PD visit, person met provide the following information about loan applied for:'; - $is_current_product_bl = $pd_master_details[0]['product_abbr'] == "BL" ? true: false; - $is_current_product_lab = $pd_master_details[0]['product_abbr'] == "LAP" ? true: false; - $is_current_product_laep = $pd_master_details[0]['product_abbr'] == "LAEP" ? true: false; + $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; + $is_current_product_laep = $pd_master_details[0]['prod_catagory'] == "LAEP" ? true: false; // echo $pd_master_details[0]['product_abbr']; // echo '-bl-'. $is_current_product_bl; // echo '-lap-'.$is_current_product_lab; diff --git a/api/application/views/report_templates/JSONTOREPORT_SAL.php b/api/application/views/report_templates/JSONTOREPORT_SAL.php index 54989105..3883b490 100644 --- a/api/application/views/report_templates/JSONTOREPORT_SAL.php +++ b/api/application/views/report_templates/JSONTOREPORT_SAL.php @@ -1002,8 +1002,8 @@ defined('BASEPATH') OR exit('No direct script access allowed'); echo 'During the PD visit, person met provide the following information about loan applied for:'; $is_current_product_bl = $pd_master_details[0]['prod_catagory'] == "BL" ? true: false; - $is_current_product_lab = $pd_master_details[0]['product_abbr'] == "LAP" ? true: false; - $is_current_product_laep = $pd_master_details[0]['product_abbr'] == "LAEP" ? true: false; + $is_current_product_lab = $pd_master_details[0]['prod_catagory'] == "LAP" ? true: false; + $is_current_product_laep = $pd_master_details[0]['prod_catagory'] == "LAEP" ? true: false; // echo $pd_master_details[0]['product_abbr']; // die(); $loan_table_dispaly_rows = array(); @@ -1638,7 +1638,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); - $nrcRow) { @@ -1665,7 +1665,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); //echo $pd_offiecer_status_about_neighbor; if(count($existNeighRefCheck)>0){ - //print_r($existNeighRefCheck);die(); + print_r($existNeighRefCheck);die(); ?> $nfValue) { @@ -1690,14 +1690,14 @@ defined('BASEPATH') OR exit('No direct script access allowed'); } else{?> - +