mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-10 19:12:42 +00:00
do not allow to set revision date if document status is 'in revision'
This commit is contained in:
parent
d641a8d2ed
commit
93f6b01c7f
|
@ -74,10 +74,14 @@ class SeedDMS_View_SetRevisors extends SeedDMS_Theme_Style {
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart();
|
||||||
$this->formField(
|
if($content->getStatus()['status'] == S_IN_REVISION) {
|
||||||
getMLText("revision_date"),
|
echo '<input type="hidden" name="startdate" value="" />';
|
||||||
$this->getDateChooser($startdate, "startdate", $this->params['session']->getLanguage())
|
} else {
|
||||||
);
|
$this->formField(
|
||||||
|
getMLText("revision_date"),
|
||||||
|
$this->getDateChooser($startdate, "startdate", $this->params['session']->getLanguage())
|
||||||
|
);
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user