FIX_CD_AC_PK : RV
This commit is contained in:
parent
a1e4bae6d1
commit
8c5872326a
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user