FIX_ISSUE

This commit is contained in:
VENKATESHWARAN 2025-12-04 10:49:00 +05:30
parent 9541dc4077
commit 5c11ce0fa3

View File

@ -2997,7 +2997,7 @@ class EmployeeRestController extends AdminController
}
$emp_reatail_policy_data = $this->getEmpRetailPolicy($employeeSelfData);
$emp_wellness_data = $this->getWellnessUrl($employeeSelfData['id'] ?? null);
$emp_wellness_data = $this->getWellnessUrl($employeeSelfData->id ?? null);
return $this->respond(['status' => 'success', 'code' => 200, 'data' => $result, 'emp_name' => $employeeName, 'pre_policy_count' => $prePolicyCount, 'retail_policy_data' => $emp_reatail_policy_data, 'wellness_data' => $emp_wellness_data], 200);
} else {
@ -4640,8 +4640,8 @@ class EmployeeRestController extends AdminController
try {
$emp_id = $employeeData['id'];
$mobile_number = $employeeData['mobile'] ?? null;
$emp_id = $employeeData->id ?? null;
$mobile_number = $employeeData->mobile ?? null;
$emp_retail_policy_data = [];
if (!empty($emp_id)) {