FIX_LIVE_ONBOARD_ISSUE
This commit is contained in:
parent
cd37e33920
commit
942d184914
@ -1611,7 +1611,7 @@ class EmployeeServiceController extends AdminController
|
|||||||
// echo '---------------------------------------';
|
// echo '---------------------------------------';
|
||||||
|
|
||||||
//start implemet of si enhancement of grid type 10,11
|
//start implemet of si enhancement of grid type 10,11
|
||||||
if(count($employee) && $file['action'] == 'dependent_addition' && $temp['source'] == 'db' && in_array($value['temp']['grid_id'],[10,11]) && ( ($value['temp']['premium_type'] == 1 && (strtolower($value['relationship']) == 'self' || $temp['acting_self'])) || ($value['temp']['premium_type'] == 2 || $value['temp']['premium_type'] == null)))
|
if(count($employee) && $file['action'] == 'dependent_addition' && $temp['source'] == 'db' && in_array($temp['grid_id'],[10,11]) && ( ($temp['premium_type'] == 1 && (strtolower($value['relationship']) == 'self' || $temp['acting_self'])) || ($temp['premium_type'] == 2 || $temp['premium_type'] == null)))
|
||||||
{
|
{
|
||||||
$log_message = 'Employee record from DB,Checking SI for - '.$employee[0]['name'].'('.$employee[0]['emp_code'].')';
|
$log_message = 'Employee record from DB,Checking SI for - '.$employee[0]['name'].'('.$employee[0]['emp_code'].')';
|
||||||
$this->myLogger->logme('error',$log_message);
|
$this->myLogger->logme('error',$log_message);
|
||||||
@ -1620,7 +1620,7 @@ class EmployeeServiceController extends AdminController
|
|||||||
break;//skip db employee
|
break;//skip db employee
|
||||||
}
|
}
|
||||||
//end implemet of si enhancement of grid type
|
//end implemet of si enhancement of grid type
|
||||||
|
dd('s');
|
||||||
//save employee table
|
//save employee table
|
||||||
$value['relationship'] = ucfirst(trim($value['relationship']));
|
$value['relationship'] = ucfirst(trim($value['relationship']));
|
||||||
if(count($employee))
|
if(count($employee))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user