CHANGE_BDS

This commit is contained in:
VENKATESHWARAN 2025-09-20 10:04:46 +05:30
parent 7bc0d3a41c
commit 41ae567a9a
3 changed files with 4043 additions and 4022 deletions

View File

@ -1590,11 +1590,12 @@ class MasterController extends AdminController
'status' => true,
'cd_ac_pk' => $insert,
'data' => $cd_data,
'received_data' => $data,
'cd_ac_no'=>$data['cd_ac_no'],
'message' => 'CD Account number created successfully',
"FOR BDS PURPOSE"
], 200);
}else{
return $this->respond(['status' => false, 'message' => 'Failed to created CD Account number'], 200);
}

View File

@ -339,7 +339,7 @@ class PolicyTransactionController extends BaseController
$data['policy_with_corr'] = 1;
}
$data['is_cd_reduce_from_bds'] = ($data['policy_type_id'] > 7 && $data['client_type'] === 1) ? 1 : 0;
$data['is_cd_reduce_from_bds'] = ($data['policy_type_id'] > 7 && $data['client_type'] == 1) ? 1 : 0;
if ($data['ct_type'] == "") {
@ -1189,7 +1189,7 @@ class PolicyTransactionController extends BaseController
// $data['is_cd_reduce_from_bds'] = 1;
// }
$data['is_cd_reduce_from_bds'] = ($data['policy_type_id'] > 7 && $data['client_type'] === 1) ? 1 : 0;
$data['is_cd_reduce_from_bds'] = ($data['policy_type_id'] > 7 && $data['client_type'] == 1) ? 1 : 0;
if (empty($data['data_received_date'])) {

File diff suppressed because it is too large Load Diff