FEAT_HANDLE_ALL_EVENT

This commit is contained in:
VENKATESHWARAN 2026-06-26 09:26:32 +05:30
parent 0a3a02b836
commit e0a3f012f6

View File

@ -5169,14 +5169,12 @@ class EmployeeRestController extends AdminController
try {
//for inception upload
if($type == 'EB'){
if ($type == 'EB') {
$data['actions'] = ['addition' => 'Addition (Employee + Dependents)', 'missed_inception' => 'Missed Inception (Employee + Dependents)', 'dependent_addition' => 'Dependent Addition (Only Dependents)', 'deletion' => 'Deletion', 'correction' => 'Correction', 'si_enhancement' => 'SI Enhancement'];
}
else
{
$data['actions'] = ['addition' => 'Adding New Assets', 'deletion' => 'Removing Assets', 'correction' => 'Correction of assets details'];
}
$data['actions'] = ['all' => 'All', 'addition' => 'Addition (Employee + Dependents)', 'missed_inception' => 'Missed Inception (Employee + Dependents)', 'dependent_addition' => 'Dependent Addition (Only Dependents)', 'deletion' => 'Deletion', 'correction' => 'Correction', 'si_enhancement' => 'SI Enhancement'];
} else {
$data['actions'] = ['addition' => 'Adding New Assets', 'deletion' => 'Removing Assets', 'correction' => 'Correction of assets details'];
}
return $this->respond([
'status' => true,