From fa420ad77eabf25524b638611874f9c83fba0575 Mon Sep 17 00:00:00 2001 From: Velz2020 Date: Mon, 3 Aug 2020 23:54:52 +0530 Subject: [PATCH] UDDAN LOAN FORM CHANGES --- .../views/report_templates/JSONTOREPORT_DI_AI.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php index 96508bcf..1d9bf7f1 100644 --- a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php +++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php @@ -1235,7 +1235,7 @@ if ( isset($pdf) ) { $loan_table_dispaly_rows = array(); $loan_table_dispaly_rows[] = array('particulars' => 'Total Loan Amount applied for','details' => ""." ".$loan_amount.' ('.MYUTIL::numtowords($loan_form['loan_amount']).')'); - if($is_current_product_bl || $is_current_product_laep) + 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 '.""." ".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); @@ -1301,7 +1301,10 @@ if ( isset($pdf) ) { } } - $loan_table_dispaly_rows[] = array('particulars' => 'EMI Comfortable Paying','details' => is_numeric($loan_form['emi_level']) && $loan_form['emi_level'] != 0? ($rupee_symbol." ".MYUTIL::customIndianNumberFormat($loan_form['emi_level']).' ('.MYUTIL::numtowords($loan_form['emi_level']).')') : "Not Provided" ); + if($pd_master_details[0]['lender_short_name'] != 'UDAAN') + { + $loan_table_dispaly_rows[] = array('particulars' => 'EMI Comfortable Paying','details' => is_numeric($loan_form['emi_level']) && $loan_form['emi_level'] != 0? ($rupee_symbol." ".MYUTIL::customIndianNumberFormat($loan_form['emi_level']).' ('.MYUTIL::numtowords($loan_form['emi_level']).')') : "Not Provided" ); + } if(!$is_current_product_bl && !$is_current_product_laep) {