Banking Details : ps

This commit is contained in:
sanjeev 2021-12-17 22:04:24 +05:30
parent 2cd4e8dd40
commit d15f421f70
7 changed files with 263 additions and 52 deletions

View File

@ -6714,7 +6714,9 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
$form_array[] = array('form_id' => 22,'form_name' => 'Business Assets');
//$form_array[] = array('form_id' => 21,'form_name' => 'Business Banking'); Removed ( step 2 )
if(strcasecmp($lender_short_name, 'CLIX')){
$form_array[] = array('form_id' => 21,'form_name' => 'Business Banking'); // this is temporary have to Remove ( step 2 )
}
$form_array[] = array('form_id' => 14,'form_name' => 'Financial Information');
$form_array[] = array('form_id' => 1,'form_name' => 'Supplier Details');
$form_array[] = array('form_id' => 2,'form_name' => 'Client Details');
@ -6730,7 +6732,9 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
$form_array[] = array('form_id' => 13,'form_name' => 'About Business');
$form_array[] = array('form_id' => 22,'form_name' => 'Business Assets');
//$form_array[] = array('form_id' => 21,'form_name' => 'Business Banking');Removed ( step 2 )
if(strcasecmp($lender_short_name, 'CLIX')){
$form_array[] = array('form_id' => 21,'form_name' => 'Business Banking');//Removed ( step 2 )
}
$form_array[] = array('form_id' => 14,'form_name' => 'Financial Information');
$form_array[] = array('form_id' => 1,'form_name' => 'Supplier Details');
$form_array[] = array('form_id' => 2,'form_name' => 'Client Details');
@ -8290,19 +8294,35 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
#####End of Other Assest Form Questions########
######Business Banking ##############
$business_bank_form = (json_decode($form_data[7][0]['processed_json'],true));
// here i am changed to 21 form-id to 7 form-id
$vintage = array();
if(array_key_exists('business_details',$business_bank_form))
{
foreach($business_bank_form['business_details'] as $banking)
//here IF Else is Temporary CLix
//here i am changed to 21 form-id to 7 form-id
$temp_flag = isset($form_data[21][0]['processed_json'])?1:0;
if($temp_flag == 0){
$business_bank_form = (json_decode($form_data[7][0]['processed_json'],true));
$vintage = array();
if(array_key_exists('business_details',$business_bank_form))
{
$year = $banking['vintage_year_business'] ? $banking['vintage_year_business'] : 0 ;
$month = $banking['vintage_month_business'] ? $banking['vintage_month_business'] : 0;
$temp = $year.'.'.$month;
$vintage = array_merge($vintage,array($temp));
foreach($business_bank_form['business_details'] as $banking)
{
$year = $banking['vintage_year_business'] ? $banking['vintage_year_business'] : 0 ;
$month = $banking['vintage_month_business'] ? $banking['vintage_month_business'] : 0;
$temp = $year.'.'.$month;
$vintage = array_merge($vintage,array($temp));
}
}
}else{
$business_bank_form = (json_decode($form_data[21][0]['processed_json'],true));
$vintage = array();
if(array_key_exists('banking_details',$business_bank_form))
{
foreach($business_bank_form['banking_details'] as $banking)
{
$year = $banking['vintage_year'] ? $banking['vintage_year'] : 0 ;
$month = $banking['vintage_month'] ? $banking['vintage_month'] : 0;
$temp = $year.'.'.$month;
$vintage = array_merge($vintage,array($temp));
}
}
}

View File

@ -2719,7 +2719,8 @@ if($total_no_of_business > 0) {
<?php }
else
{
echo '<p>As per person met, Applicant does not have any business account.</p>';
// echo '<p>As per person met, Applicant does not have any business account.</p>';
echo '<p>As per loan applicant, he does not have any business account.</p>';
}
}
?>
@ -4101,7 +4102,7 @@ if($total_no_of_business > 0) {
if(count($individualBankRow['banking_details'])>0){
// $tag['same_ac_used_for'] both
$stmt_flag = array_map(function ($ar) {
return $ar['same_ac_used_for'] == "both" ? ($stmt_flag+1) : 0;
return $ar['same_ac_used_for'] == "business" ? ($stmt_flag+1) : 0;
}, $individualBankRow['banking_details']);
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
@ -4116,7 +4117,7 @@ if($total_no_of_business > 0) {
}
?>
<h3 contenteditable="true">Banking Details: </h3>
<h3 contenteditable="true">Personal Banking Details: </h3>
<?php if($is_personal_banking_available != null){
//print_r($bankingResult);
?>
@ -4130,7 +4131,7 @@ if($total_no_of_business > 0) {
<th>Account Type</th>
<th>OD / CC Limit</th>
<th>Vintage</th>
<th>Account Used for</th>
<!-- <th>Account Used for</th> -->
</tr>
</thead>
<tbody>
@ -4143,7 +4144,7 @@ if($total_no_of_business > 0) {
<td class="customtd"><?php echo $bdRow['account_type'] ?></td>
<td class="customtd"><?php echo $bdRow['od_cc_limit'] ? $bdRow['od_cc_limit'] : "NA" ?></td>
<td class="customtd"><?php echo $bdRow['vintage'] ?></td>
<td class="customtd"><?php echo $bdRow['same_ac_used_for'] ?></td>
<!-- <td class="customtd"><?php echo $bdRow['same_ac_used_for'] ?></td> -->
</tr>
<?php } ?>
</tbody>
@ -4153,8 +4154,8 @@ if($total_no_of_business > 0) {
}
if($stmt_flag > 0 ){ echo '<p> The personal banking is done through same account used for business banking </p>'; }
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; } ?>
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; }
if($is_personal_banking_available == null){ echo '<p>As per loan applicant, he does not have any personal account</p>';}?>
<!-- #################end business / individual banking section #################-->

View File

@ -2641,7 +2641,84 @@ if($total_no_of_business > 0) {
<!-- #################end business banking section #################-->
<!-- #################Start new business banking section (11.12.2021)#################-->
<?php
if(isset($pd_processed_forms[7])){
$newBankingResult=array();
$is_od_cc = null;
foreach($pd_processed_forms[7] as $rowKey=> $ibRow) {
$individualBankRow = json_decode($ibRow['processed_json'],true);
if(isset($individualBankRow['bank_info_available_business']) && $individualBankRow['bank_info_available_business'] == 1){
if(count($individualBankRow['business_details'])>0){
$getBuinessEachValues=BANKINGFORM::getNewBuinessBankingDetails($individualBankRow['business_details'],$pd_master_details[0]['pd_id']);
$newBankingResult = array_merge($newBankingResult,$getBuinessEachValues);
}
}
if(isset($individualBankRow['bank_info_available']) && $individualBankRow['bank_info_available'] == 1)
{
if(count($individualBankRow['banking_details'])>0){
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
$newBankingResult = array_merge($newBankingResult,$getIndividualEachValues);
}
}
}
foreach($newBankingResult as $bd){ if($bd['account_type']== 4 || $bd['account_type']== 3){ $is_od_cc = true; } }
if(count($newBankingResult)>0){
// $newBankingResult = array_filter($newBankingResult, function ($var) {
// // return ($var['same_ac_used_for'] == "Business");
// return (($var['account_name'] == $fetchRow['company_details']['company_name']) && ($var['same_ac_used_for'] == "Business"));
// });
$filteredBankingResult = array();$b=0;
for($a = 0; $a <= count($newBankingResult); $a++){
if($newBankingResult[$a]['account_name'] == $fetchRow['company_details']['company_name'] && $newBankingResult[$a]['same_ac_used_for'] == "Business"){
$filteredBankingResult[$b] = $newBankingResult[$a];
$b++;
}
}
}//forloop ends here.
?>
<?php
echo '<h3 contenteditable="true">Business Banking:</h3>';
if(count($filteredBankingResult)>0){ ?>
<table class="scorecard_table">
<thead>
<tr>
<th>Account Name</th>
<th>Bank Name</th>
<th>Account Type</th>
<th>Account Vintage</th>
<?php if($is_od_cc){?><th>OD/CC Limit(Rs)</th><?php } ?>
<th>Main Business A/c</th>
</tr>
</thead>
<tbody>
<?php foreach($filteredBankingResult as $bdRow){
if($bdRow['account_name'] != '')
{
?>
<tr>
<td><?php echo $bdRow['account_name'] ?></td>
<td class="customtd"><?php echo $bdRow['bank_name'] ?></td>
<td class="customtd"><?php echo $bdRow['account_type'] ?></td>
<td class="customtd"><?php echo $bdRow['vintage'] ?></td>
<?php if($is_od_cc){?><td class="customtd"><?php echo $bdRow['od_cc_limit'] ?></td><?php } ?>
<td class="customtd"><?php echo $bdRow['main_business'] ? $bdRow['main_business'] : '-' ?></td>
</tr>
<?php }
}?>
</tbody>
</table>
<?php }
else
{
echo '<p>As per loan applicant, he does not have any business account.</p>';
}
}
?>
<!-- #################end new business banking section #################-->
@ -3999,6 +4076,7 @@ if($total_no_of_business > 0) {
<?php
$bankingResult=array();
$is_personal_banking_available = null;
$stmt_flag = 0;
// individual banking
foreach($pd_processed_forms[7] as $rowKey=> $ibRow) {
$individualBankRow = json_decode($ibRow['processed_json'],true);
@ -4007,6 +4085,9 @@ if($total_no_of_business > 0) {
{
$is_personal_banking_available = 1;
if(count($individualBankRow['banking_details'])>0){
$stmt_flag = array_map(function ($ar) {
return $ar['same_ac_used_for'] == "business" ? ($stmt_flag+1) : 0;
}, $individualBankRow['banking_details']);
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
$bankingResult = array_merge($bankingResult,$getIndividualEachValues);
@ -4016,7 +4097,7 @@ if($total_no_of_business > 0) {
?>
<h3 contenteditable="true">Personal Banking: </h3>
<h3 contenteditable="true">Personal Banking Details: </h3>
<?php if($is_personal_banking_available != null){
//print_r($bankingResult);
?>
@ -4031,6 +4112,7 @@ if($total_no_of_business > 0) {
<th>OD / CC Limit</th>
<th>Vintage</th>
<!-- <th>Account Used for</th> -->
</tr>
</thead>
<tbody>
@ -4044,6 +4126,7 @@ if($total_no_of_business > 0) {
<td class="customtd"><?php echo $bdRow['od_cc_limit'] ? $bdRow['od_cc_limit'] : "NA" ?></td>
<td class="customtd"><?php echo $bdRow['vintage'] ?></td>
<!-- <td class="customtd"><?php echo $bdRow['same_ac_used_for'] ?></td> -->
</tr>
<?php } ?>
</tbody>
@ -4052,9 +4135,9 @@ if($total_no_of_business > 0) {
}
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; } ?>
if($stmt_flag > 0 ){ echo '<p> The personal banking is done through same account used for business banking </p>'; }
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; }
if($is_personal_banking_available == null){ echo '<p>As per loan applicant, he does not have any personal account</p>';}?>
<!-- #################end business / individual banking section #################-->

View File

@ -2639,11 +2639,85 @@ if($total_no_of_business > 0) {
<!-- #################end business banking section #################-->
<!-- #################Start new business banking section (11.12.2021)#################-->
<?php
if(isset($pd_processed_forms[7])){
$newBankingResult=array();
$is_od_cc = null;
foreach($pd_processed_forms[7] as $rowKey=> $ibRow) {
$individualBankRow = json_decode($ibRow['processed_json'],true);
if(isset($individualBankRow['bank_info_available_business']) && $individualBankRow['bank_info_available_business'] == 1){
if(count($individualBankRow['business_details'])>0){
$getBuinessEachValues=BANKINGFORM::getNewBuinessBankingDetails($individualBankRow['business_details'],$pd_master_details[0]['pd_id']);
$newBankingResult = array_merge($newBankingResult,$getBuinessEachValues);
}
}
if(isset($individualBankRow['bank_info_available']) && $individualBankRow['bank_info_available'] == 1)
{
if(count($individualBankRow['banking_details'])>0){
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
$newBankingResult = array_merge($newBankingResult,$getIndividualEachValues);
}
}
}
foreach($newBankingResult as $bd){ if($bd['account_type']== 4 || $bd['account_type']== 3){ $is_od_cc = true; } }
if(count($newBankingResult)>0){
// $newBankingResult = array_filter($newBankingResult, function ($var) {
// // return ($var['same_ac_used_for'] == "Business");
// return (($var['account_name'] == $fetchRow['company_details']['company_name']) && ($var['same_ac_used_for'] == "Business"));
// });
$filteredBankingResult = array();$b=0;
for($a = 0; $a <= count($newBankingResult); $a++){
if($newBankingResult[$a]['account_name'] == $fetchRow['company_details']['company_name'] && $newBankingResult[$a]['same_ac_used_for'] == "Business"){
$filteredBankingResult[$b] = $newBankingResult[$a];
$b++;
}
}
}//forloop ends here.
?>
<?php
echo '<h3 contenteditable="true">Business Banking:</h3>';
if(count($filteredBankingResult)>0){ ?>
<table class="scorecard_table">
<thead>
<tr>
<th>Account Name</th>
<th>Bank Name</th>
<th>Account Type</th>
<th>Account Vintage</th>
<?php if($is_od_cc){?><th>OD/CC Limit(Rs)</th><?php } ?>
<th>Main Business A/c</th>
</tr>
</thead>
<tbody>
<?php foreach($filteredBankingResult as $bdRow){
if($bdRow['account_name'] != '')
{
?>
<tr>
<td><?php echo $bdRow['account_name'] ?></td>
<td class="customtd"><?php echo $bdRow['bank_name'] ?></td>
<td class="customtd"><?php echo $bdRow['account_type'] ?></td>
<td class="customtd"><?php echo $bdRow['vintage'] ?></td>
<?php if($is_od_cc){?><td class="customtd"><?php echo $bdRow['od_cc_limit'] ?></td><?php } ?>
<td class="customtd"><?php echo $bdRow['main_business'] ? $bdRow['main_business'] : '-' ?></td>
</tr>
<?php }
}?>
</tbody>
</table>
<?php }
else
{
echo '<p>As per loan applicant, he does not have any business account.</p>';
}
}
?>
<!-- #################end new business banking section #################-->
<!-- #################client section start #################-->
<?php
@ -3998,6 +4072,7 @@ if($total_no_of_business > 0) {
<?php
$bankingResult=array();
$is_personal_banking_available = null;
$stmt_flag = 0;
// individual banking
foreach($pd_processed_forms[7] as $rowKey=> $ibRow) {
$individualBankRow = json_decode($ibRow['processed_json'],true);
@ -4005,17 +4080,21 @@ if($total_no_of_business > 0) {
if(isset($individualBankRow['bank_info_available']) && $individualBankRow['bank_info_available'] == 1)
{
$is_personal_banking_available = 1;
if(count($individualBankRow['banking_details'])>0){
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
$bankingResult = array_merge($bankingResult,$getIndividualEachValues);
}
if(count($individualBankRow['banking_details'])>0){
// $tag['same_ac_used_for'] both
$stmt_flag = array_map(function ($ar) {
return $ar['same_ac_used_for'] == "business" ? ($stmt_flag+1) : 0;
}, $individualBankRow['banking_details']);
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
$bankingResult = array_merge($bankingResult,$getIndividualEachValues);
}
}
}
?>
<h3 contenteditable="true">Personal Banking: </h3>
<h3 contenteditable="true">Personal Banking Details: </h3>
<?php if($is_personal_banking_available != null){
//print_r($bankingResult);
?>
@ -4030,6 +4109,7 @@ if($total_no_of_business > 0) {
<th>OD / CC Limit</th>
<th>Vintage</th>
<!-- <th>Account Used for</th> -->
</tr>
</thead>
<tbody>
@ -4043,6 +4123,7 @@ if($total_no_of_business > 0) {
<td class="customtd"><?php echo $bdRow['od_cc_limit'] ? $bdRow['od_cc_limit'] : "NA" ?></td>
<td class="customtd"><?php echo $bdRow['vintage'] ?></td>
<!-- <td class="customtd"><?php echo $bdRow['same_ac_used_for'] ?></td> -->
</tr>
<?php } ?>
</tbody>
@ -4051,9 +4132,9 @@ if($total_no_of_business > 0) {
}
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; } ?>
if($stmt_flag > 0 ){ echo '<p> The personal banking is done through same account used for business banking </p>'; }
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; }
if($is_personal_banking_available == null){ echo '<p>As per loan applicant, he does not have any personal account</p>';}?>
<!-- #################end business / individual banking section #################-->

View File

@ -1309,7 +1309,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$is_personal_banking_available = 1;
if(count($individualBankRow['banking_details'])>0){
$stmt_flag = array_map(function ($ar) {
return $ar['same_ac_used_for'] == "both" ? ($stmt_flag+1) : 0;
return $ar['same_ac_used_for'] == "business" ? ($stmt_flag+1) : 0;
}, $individualBankRow['banking_details']);
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
$bankingResult = array_merge($bankingResult,$getIndividualEachValues);
@ -1320,7 +1320,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
?>
<h3 contenteditable="true">Personal Banking: </h3>
<h3 contenteditable="true">Personal Banking Details: </h3>
<?php if($is_personal_banking_available != null){
//print_r($bankingResult);
?>
@ -1335,7 +1335,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<th>OD / CC Limit</th>
<th>Vintage</th>
<th>Account Used for</th>
<!-- <th>Account Used for</th> -->
</tr>
</thead>
<tbody>
@ -1349,7 +1349,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td class="customtd"><?php echo $bdRow['od_cc_limit'] ? $bdRow['od_cc_limit'] : "NA" ?></td>
<td class="customtd"><?php echo $bdRow['vintage'] ?></td>
<td class="customtd"><?php echo $bdRow['same_ac_used_for'] ?></td>
<!-- <td class="customtd"><?php echo $bdRow['same_ac_used_for'] ?></td> -->
</tr>
<?php } ?>
</tbody>
@ -1358,9 +1358,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
}
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; } ?>
if($stmt_flag > 0 ){ echo '<p> The personal banking is done through same account used for business banking </p>'; }
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; }
if($is_personal_banking_available == null){ echo '<p>As per loan applicant, he does not have any personal account</p>';}?>
<!-- #################end business / individual banking section #################-->

View File

@ -1292,14 +1292,25 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?php
$bankingResult=array();
$is_personal_banking_available = null;
$stmt_flag = 0;
// individual banking
foreach($pd_processed_forms[7] as $rowKey=> $ibRow) {
$individualBankRow = json_decode($ibRow['processed_json'],true);
$ind_banking_common_remarks = $individualBankRow['banking_form_remark'];
if(isset($individualBankRow['bank_info_available_business']) && $individualBankRow['bank_info_available_business'] == 1){
$is_personal_banking_available = 1;
if(count($individualBankRow['business_details'])>0){
$getBuinessEachValues=BANKINGFORM::getNewBuinessBankingDetails($individualBankRow['business_details'],$pd_master_details[0]['pd_id']);
$bankingResult = array_merge($bankingResult,$getBuinessEachValues);
}
}
if(isset($individualBankRow['bank_info_available']) && $individualBankRow['bank_info_available'] == 1)
{
$is_personal_banking_available = 1;
if(count($individualBankRow['banking_details'])>0){
$stmt_flag = array_map(function ($ar) {
return $ar['same_ac_used_for'] == "business" ? ($stmt_flag+1) : 0;
}, $individualBankRow['banking_details']);
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
$bankingResult = array_merge($bankingResult,$getIndividualEachValues);
@ -1309,7 +1320,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
?>
<h3 contenteditable="true">Personal Banking: </h3>
<h3 contenteditable="true">Personal Banking Details: </h3>
<?php if($is_personal_banking_available != null){
//print_r($bankingResult);
?>
@ -1324,6 +1335,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<th>OD / CC Limit</th>
<th>Vintage</th>
<!-- <th>Account Used for</th> -->
</tr>
</thead>
<tbody>
@ -1337,6 +1349,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td class="customtd"><?php echo $bdRow['od_cc_limit'] ? $bdRow['od_cc_limit'] : "NA" ?></td>
<td class="customtd"><?php echo $bdRow['vintage'] ?></td>
<!-- <td class="customtd"><?php echo $bdRow['same_ac_used_for'] ?></td> -->
</tr>
<?php } ?>
</tbody>
@ -1345,9 +1358,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
}
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; } ?>
if($stmt_flag > 0 ){ echo '<p> The personal banking is done through same account used for business banking </p>'; }
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; }
if($is_personal_banking_available == null){ echo '<p>As per loan applicant, he does not have any personal account</p>';}?>
<!-- #################end business / individual banking section #################-->

View File

@ -1291,14 +1291,25 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?php
$bankingResult=array();
$is_personal_banking_available = null;
$stmt_flag = 0;
// individual banking
foreach($pd_processed_forms[7] as $rowKey=> $ibRow) {
$individualBankRow = json_decode($ibRow['processed_json'],true);
$ind_banking_common_remarks = $individualBankRow['banking_form_remark'];
if(isset($individualBankRow['bank_info_available_business']) && $individualBankRow['bank_info_available_business'] == 1){
$is_personal_banking_available = 1;
if(count($individualBankRow['business_details'])>0){
$getBuinessEachValues=BANKINGFORM::getNewBuinessBankingDetails($individualBankRow['business_details'],$pd_master_details[0]['pd_id']);
$bankingResult = array_merge($bankingResult,$getBuinessEachValues);
}
}
if(isset($individualBankRow['bank_info_available']) && $individualBankRow['bank_info_available'] == 1)
{
$is_personal_banking_available = 1;
if(count($individualBankRow['banking_details'])>0){
$stmt_flag = array_map(function ($ar) {
return $ar['same_ac_used_for'] == "business" ? ($stmt_flag+1) : 0;
}, $individualBankRow['banking_details']);
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
$bankingResult = array_merge($bankingResult,$getIndividualEachValues);
@ -1308,7 +1319,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
?>
<h3 contenteditable="true">Personal Banking: </h3>
<h3 contenteditable="true">Personal Banking Details: </h3>
<?php if($is_personal_banking_available != null){
//print_r($bankingResult);
?>
@ -1323,6 +1334,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<th>OD / CC Limit</th>
<th>Vintage</th>
<!-- <th>Account Used for</th> -->
</tr>
</thead>
<tbody>
@ -1336,6 +1348,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td class="customtd"><?php echo $bdRow['od_cc_limit'] ? $bdRow['od_cc_limit'] : "NA" ?></td>
<td class="customtd"><?php echo $bdRow['vintage'] ?></td>
<!-- <td class="customtd"><?php echo $bdRow['same_ac_used_for'] ?></td> -->
</tr>
<?php } ?>
</tbody>
@ -1344,9 +1357,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
}
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; } ?>
if($stmt_flag > 0 ){ echo '<p> The personal banking is done through same account used for business banking </p>'; }
if($ind_banking_common_remarks != ''){echo '<p>'.$ind_banking_common_remarks.'</p>'; }
if($is_personal_banking_available == null){ echo '<p>As per loan applicant, he does not have any personal account</p>';}?>
<!-- #################end business / individual banking section #################-->