CHANGE_merge files:GWM

This commit is contained in:
bitbucket 2024-07-01 13:07:23 +05:30
parent 6041434d97
commit c6af9dab2a

View File

@ -434,7 +434,7 @@ class EmployeeRestController extends AdminController
->findAll();
// dd($checkIfExist);
if ($checkIfExist) {
$empPolicy = $this->employeePolicyModel->updateSiAndPremium($value->client_policy_id, $value->employee_id, $value->basic_cover_si);
@ -661,7 +661,7 @@ class EmployeeRestController extends AdminController
$empServiceController = new EmployeeServiceController();
$result = $empServiceController->excelFileFormatValidation(['file_id' => $file_id]);
// dd($result);
if(isset($result['error_summary']) && count($result['error_summary']))
{
$result = $empServiceController->getExcelErrorData($file_id);
@ -1045,7 +1045,7 @@ public function getEmployeePolicy()
$data = [];
foreach ($floters as $familyFloatesValue) {
$dependent = preg_replace('/\d/', '', $familyFloatesValue);
// dd($empData);
if(count($empData)){
foreach ($empData as $key => $value) {
if ($value['family_floater_key'] === $dependent) {
@ -1103,7 +1103,7 @@ public function getEmployeePolicy()
}
}
dd($floters);
// Add family floter buttons placement data for FE validation
if(count($floters)){