FIX_EMPLYEE_INSERT_ISSUE
This commit is contained in:
parent
3149cc29d2
commit
bdde7bfe82
@ -1450,11 +1450,11 @@ class EmployeeServiceController extends AdminController
|
|||||||
$data = calculate_premium_new(family_data: $family, policy_terms: $policy_terms, slab_details: $slab_details, fileArr: $file, existing_units: $existing_units);
|
$data = calculate_premium_new(family_data: $family, policy_terms: $policy_terms, slab_details: $slab_details, fileArr: $file, existing_units: $existing_units);
|
||||||
// dd($data);
|
// dd($data);
|
||||||
$employee_data_group_by_family[$emp_id] = $data;
|
$employee_data_group_by_family[$emp_id] = $data;
|
||||||
// $res = $this->employeesOnboardProcess(['familiy_data' => $data, 'file' => $file]);
|
$res = $this->employeesOnboardProcess(['familiy_data' => $data, 'file' => $file]);
|
||||||
|
|
||||||
// if ($res > 0) {
|
if ($res > 0) {
|
||||||
// $employee_insert_count++;
|
$employee_insert_count++;
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($employee_insert_count > 0) {
|
if ($employee_insert_count > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user