mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
list number of users the selected user is a mandatory reviewer/approver of
This commit is contained in:
parent
8513e5c2a8
commit
25a1392d5c
|
@ -131,6 +131,14 @@ $(document).ready( function() {
|
|||
}
|
||||
echo "<tr><td>".getMLText('pending_approvals')."</td><td>".count($tasks['approval'])."</td></tr>\n";
|
||||
}
|
||||
$resArr = $seluser->isMandatoryReviewerOf();
|
||||
if($resArr) {
|
||||
echo "<tr><td>".getMLText('mandatory_reviewers')."</td><td>".count($resArr)."</td></tr>\n";
|
||||
}
|
||||
$resArr = $seluser->isMandatoryApproverOf();
|
||||
if($resArr) {
|
||||
echo "<tr><td>".getMLText('mandatory_approvers')."</td><td>".count($resArr)."</td></tr>\n";
|
||||
}
|
||||
}
|
||||
if($workflowmode == 'advanced') {
|
||||
$workflows = $seluser->getWorkflowsInvolved();
|
||||
|
|
Loading…
Reference in New Issue
Block a user