FIX_SI_ENHANEMENT_ISSUE_IN_DATA_VALIDATION
This commit is contained in:
parent
c635cebbe3
commit
91343c736c
@ -349,6 +349,9 @@ class EmployeeServiceController extends AdminController
|
|||||||
unset($excel_data[0]);
|
unset($excel_data[0]);
|
||||||
$relationship = $this->general_relationships;
|
$relationship = $this->general_relationships;
|
||||||
|
|
||||||
|
|
||||||
|
if(in_array($file['action'],['inception','addition','dependent_addition']))// the below funcitons are only for I,DA,A
|
||||||
|
{
|
||||||
$employee_data_group_by_family = data_group_by_family($excel_data);
|
$employee_data_group_by_family = data_group_by_family($excel_data);
|
||||||
|
|
||||||
$is_self_available_in_policy_terms = false;
|
$is_self_available_in_policy_terms = false;
|
||||||
@ -452,7 +455,8 @@ class EmployeeServiceController extends AdminController
|
|||||||
$result['error_data'][$rowid]['name_of_emp_dep']['error'][] = "Record already exists";
|
$result['error_data'][$rowid]['name_of_emp_dep']['error'][] = "Record already exists";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}// end of foreach
|
||||||
|
}// end of if current action I,DA,A
|
||||||
|
|
||||||
// s($result);
|
// s($result);
|
||||||
// die();
|
// die();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user