CHANHE_ in emplayee upload API : GWM
This commit is contained in:
parent
74b42165ca
commit
8326b3c1f0
@ -779,6 +779,7 @@ class EmployeeRestController extends AdminController
|
|||||||
'client_id' => $client_id,
|
'client_id' => $client_id,
|
||||||
'emp_status'=>'draft',
|
'emp_status'=>'draft',
|
||||||
'band'=> $extra['10'][$index],
|
'band'=> $extra['10'][$index],
|
||||||
|
'client_branch_id' => $client_branch_id
|
||||||
|
|
||||||
];
|
];
|
||||||
$basic_cover_si_value = null;
|
$basic_cover_si_value = null;
|
||||||
@ -874,7 +875,6 @@ class EmployeeRestController extends AdminController
|
|||||||
foreach ($employee_policy as $existing_policy) {
|
foreach ($employee_policy as $existing_policy) {
|
||||||
$emp_policy_data['id']= $existing_policy['id'];
|
$emp_policy_data['id']= $existing_policy['id'];
|
||||||
$emp_policy_data['updated_at'] = $formatted_date_time;
|
$emp_policy_data['updated_at'] = $formatted_date_time;
|
||||||
$emp_policy_data['client_branch_id'] = $client_branch_id;
|
|
||||||
$this->employeePolicyModel->save($emp_policy_data);
|
$this->employeePolicyModel->save($emp_policy_data);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user