Merged in bugfix/PMCORE-937 (pull request #7851)
PMCORE-937 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
9cfbd046db
@@ -246,7 +246,17 @@ class Ajax
|
|||||||
|| in_array($appUid, $userAuthorization['objectPermissions']['REASSIGN_MY_CASES'])
|
|| in_array($appUid, $userAuthorization['objectPermissions']['REASSIGN_MY_CASES'])
|
||||||
) {
|
) {
|
||||||
if (!AppDelay::isPaused($appUid, $index)) {
|
if (!AppDelay::isPaused($appUid, $index)) {
|
||||||
$options[] = ['text' => G::LoadTranslation('ID_REASSIGN'), 'fn' => 'getUsersToReassign'];
|
$subprocess = SubProcess::getSubProcessConfiguration(
|
||||||
|
$proUid,
|
||||||
|
$_SESSION['CURRENT_TASK']
|
||||||
|
);
|
||||||
|
if (empty($subprocess)) {
|
||||||
|
$options[] = ['text' => G::LoadTranslation('ID_REASSIGN'), 'fn' => 'getUsersToReassign'];
|
||||||
|
} else {
|
||||||
|
if ($subprocess['SP_SYNCHRONOUS'] == 0) {
|
||||||
|
$options[] = ['text' => G::LoadTranslation('ID_REASSIGN'), 'fn' => 'getUsersToReassign'];
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user