mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-16 22:51:32 +00:00
show review/approval protocol
This commit is contained in:
parent
195add869c
commit
8db57d13b1
|
@ -299,6 +299,34 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
|
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
|
|
||||||
|
if($user->isAdmin()) {
|
||||||
|
?>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<?php
|
||||||
|
/* Check for an existing review log, even if the workflowmode
|
||||||
|
* is set to traditional_only_approval. There may be old documents
|
||||||
|
* that still have a review log if the workflow mode has been
|
||||||
|
* changed afterwards.
|
||||||
|
*/
|
||||||
|
if($version->getReviewStatus(10)) {
|
||||||
|
?>
|
||||||
|
<div class="span6">
|
||||||
|
<?php $this->printProtocol($version, 'review'); ?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
if($version->getApprovalStatus(10)) {
|
||||||
|
?>
|
||||||
|
<div class="span6">
|
||||||
|
<?php $this->printProtocol($version, 'approval'); ?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
$this->htmlEndPage();
|
$this->htmlEndPage();
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user