FIX_CD_AC_PK : RV

This commit is contained in:
VENKATESHWARAN 2025-02-05 14:38:02 +05:30
parent a1e4bae6d1
commit 8c5872326a

View File

@ -152,7 +152,7 @@ class EmpDataServiceController extends BaseController
$objects = $this->employeePolicyModel->getInceptionEmployeeDataForExportExcel($export_data);
$policy_details = $this->clientPolicyModel->where('id', $export_data['client_policy_id'])->first();
if ($policy_details['cd_ac_no'] == null) {
if ($policy_details['cd_ac_pk'] == null) {
$this->myLogger->logme('error', 'The policy does not have a CD account number.');
return 5;
}
@ -649,7 +649,7 @@ class EmpDataServiceController extends BaseController
$policy_details = $this->clientPolicyModel->where('id', $export_data['client_policy_id'])->first();
if ($policy_details['cd_ac_no'] == null) {
if ($policy_details['cd_ac_pk'] == null) {
$this->myLogger->logme('error', 'The policy does not have a CD account number.');
return 1;
}
@ -959,7 +959,7 @@ class EmpDataServiceController extends BaseController
$policy_details = $this->clientPolicyModel->where('id', $export_data['client_policy_id'])->first();
if ($policy_details['cd_ac_no'] == null) {
if ($policy_details['cd_ac_pk'] == null) {
$this->myLogger->logme('error', 'The policy does not have a CD account number.');
return 5;
}