From 796f7a7255cecb5d67da5c5b79c38dbf51869248 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Wed, 4 Mar 2020 18:38:49 +0530 Subject: [PATCH] Fairoj : TurnOverValidated section report issue fixed --- .../views/report_templates/JSONTOREPORT_DI_AI.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php index 3a2cd4a0..43849568 100644 --- a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php +++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php @@ -2162,7 +2162,7 @@ if($total_no_of_business > 0) { // ############### this section only for CLIX HOUSING FINANCE LENDER - if(strtoupper($businessFinancialRow['is_turnover_validated']) == 'YES') + if(isset($businessFinancialRow['is_turnover_validated']) && strtoupper($businessFinancialRow['is_turnover_validated']) == 'YES') { $bindBusinessFinancial['turnover_statements']=FINANCIALFORM::getBusinessCustomerFinancialDetails($businessFinancialRow['turnover_values']); $bindBusinessFinancial['customer_statements_header']=FINANCIALFORM::getBusinessCustomerHeader($businessFinancialRow['turnover_values']); @@ -2363,8 +2363,9 @@ if($total_no_of_business > 0) { }//else { echo "

As per Loan Applicant(s) met, the financials figures were not provided.

"; } - // ####################### THIS SECTION ONLY FOR CLIX HOUSING FINANCE LENDER ##########################--> + // ####################### THIS SECTION ONLY FOR CLIX HOUSING FINANCE LENDER ##########################--> + if(isset($iterateFinance['turnover_statements'])) { foreach($iterateFinance['turnover_statements'] as $turnover){ if(!strcasecmp($turnover['estimate_net_margin_availablity'],'yes')){ ?> @@ -2412,9 +2413,11 @@ if($total_no_of_business > 0) { - Turnover and Netprofit was '.$iterateFinance['how_turnover_validated'] - + Turnover and Netprofit was '.$iterateFinance['how_turnover_validated']; + } ?>