BUG-11374 Process Supervisor unable to adhoc assign to self SOLVED
- No se podia reasigna un caso a un supervisor. - Se agrega la funcionalidad para que el supervisor aparesca en el listado de reasignacion. - Solo el supervisor se pude reasignar a si mismo el caso y no hacia otros supervisores.
This commit is contained in:
@@ -506,8 +506,11 @@ class Ajax
|
||||
print G::json_encode( $response );
|
||||
die();
|
||||
}
|
||||
G::LoadClass( 'tasks' );
|
||||
$task = new Task();
|
||||
$tasks = $task->load($_SESSION['TASK']);
|
||||
$case = new Cases();
|
||||
$result->data = $case->getUsersToReassign($_SESSION['TASK'], $_SESSION['USER_LOGGED'], $_SESSION['PROCESS']);
|
||||
$result->data = $case->getUsersToReassign($_SESSION['TASK'], $_SESSION['USER_LOGGED'], $tasks['PRO_UID']);
|
||||
|
||||
print G::json_encode($result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user