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:
Marco Antonio Nina
2013-09-03 15:17:42 -04:00
parent 25f7b76037
commit 8f679791ab

View File

@@ -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);
}