mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-16 10:09:30 +00:00
do not show users removed from process unless admin
This commit is contained in:
parent
6f4577d7b2
commit
a42c42f335
|
@ -816,6 +816,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
break;
|
||||
}
|
||||
if($user->isAdmin() || $r["status"] > -2) {
|
||||
print "<tr>\n";
|
||||
print "<td>".$reqName."</td>\n";
|
||||
print "<td><ul class=\"unstyled\"><li>".$r["date"]."</li>";
|
||||
|
@ -849,6 +850,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
print "</tr>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (is_array($approvalStatus) && count($approvalStatus)>0) {
|
||||
|
||||
|
@ -903,6 +905,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
break;
|
||||
}
|
||||
if($user->isAdmin() || $r["status"] > -2) {
|
||||
print "<tr>\n";
|
||||
print "<td>".$reqName."</td>\n";
|
||||
print "<td><ul class=\"unstyled\"><li>".$a["date"]."</li>";
|
||||
|
@ -937,6 +940,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
print "</tr>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
print "</table>\n";
|
||||
$this->contentContainerEnd();
|
||||
|
@ -1367,6 +1371,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
break;
|
||||
}
|
||||
if($user->isAdmin() || $r["status"] != -2) {
|
||||
print "<tr>\n";
|
||||
print "<td>".$reqName."</td>\n";
|
||||
print "<td><ul class=\"unstyled\"><li>".$r["date"]."</li>";
|
||||
|
@ -1389,6 +1394,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
print "</ul></td>\n";
|
||||
print "</tr>\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue
Block a user