Statement Added : ps
This commit is contained in:
parent
24dc99cfb9
commit
66f1e65bbd
@ -66,7 +66,7 @@ public static function getIndividualBankingDetails2($values,$pdid){
|
|||||||
'bank_name' => $tag['bank_name_business'] ==1 ? $tag['other_bank_business'] : $tag['bank_name_business_master'],
|
'bank_name' => $tag['bank_name_business'] ==1 ? $tag['other_bank_business'] : $tag['bank_name_business_master'],
|
||||||
'account_type' => $tag['account_type_business_master'],
|
'account_type' => $tag['account_type_business_master'],
|
||||||
'main_business' => $tag['salary_business'],
|
'main_business' => $tag['salary_business'],
|
||||||
'od_cc_limit' => ($tag['account_type_business']==3) ? $tag['limit'] : (($tag['account_type_business']==4) ? $tag['limit'] : ''),
|
'od_cc_limit' => ($tag['account_type_business']==3) ? $tag['limit_business'] : (($tag['account_type_business']==4) ? $tag['limit_business'] : ''),
|
||||||
'vintage' => $count_vintage,
|
'vintage' => $count_vintage,
|
||||||
'same_ac_used_for' => "Business",
|
'same_ac_used_for' => "Business",
|
||||||
);
|
);
|
||||||
|
|||||||
@ -4006,6 +4006,7 @@ if($total_no_of_business > 0) {
|
|||||||
<?php
|
<?php
|
||||||
$bankingResult=array();
|
$bankingResult=array();
|
||||||
$is_personal_banking_available = null;
|
$is_personal_banking_available = null;
|
||||||
|
$stmt_flag = 0;
|
||||||
// individual banking
|
// individual banking
|
||||||
foreach($pd_processed_forms[7] as $rowKey=> $ibRow) {
|
foreach($pd_processed_forms[7] as $rowKey=> $ibRow) {
|
||||||
$individualBankRow = json_decode($ibRow['processed_json'],true);
|
$individualBankRow = json_decode($ibRow['processed_json'],true);
|
||||||
@ -4021,6 +4022,11 @@ if($total_no_of_business > 0) {
|
|||||||
{
|
{
|
||||||
$is_personal_banking_available = 1;
|
$is_personal_banking_available = 1;
|
||||||
if(count($individualBankRow['banking_details'])>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'] == "personal" ? 0 : ($stmt_flag+1);
|
||||||
|
}, $individualBankRow['banking_details']);
|
||||||
|
|
||||||
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
|
$getIndividualEachValues=BANKINGFORM::getIndividualBankingDetails($individualBankRow['banking_details'],$pd_master_details[0]['pd_id']);
|
||||||
$bankingResult = array_merge($bankingResult,$getIndividualEachValues);
|
$bankingResult = array_merge($bankingResult,$getIndividualEachValues);
|
||||||
}
|
}
|
||||||
@ -4029,7 +4035,7 @@ if($total_no_of_business > 0) {
|
|||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3 contenteditable="true">Personal Banking: </h3>
|
<h3 contenteditable="true">Banking Details: </h3>
|
||||||
<?php if($is_personal_banking_available != null){
|
<?php if($is_personal_banking_available != null){
|
||||||
//print_r($bankingResult);
|
//print_r($bankingResult);
|
||||||
?>
|
?>
|
||||||
@ -4065,9 +4071,10 @@ 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>'; } ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- #################end business / individual banking section #################-->
|
<!-- #################end business / individual banking section #################-->
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user