mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-24 10:31:20 +00:00
do not show content container if form has no visible fields
This commit is contained in:
parent
30682237e9
commit
ceddf4d5bf
|
@ -117,7 +117,8 @@ $(document).ready(function() {
|
|||
<form class="form-horizontal" method="post" action="../op/op.ReceiptDocument.php" id="form<?= $receipttype ?>" name="form<?= $receipttype ?>">
|
||||
<?php echo createHiddenFieldWithKey('receiptdocument'); ?>
|
||||
<?php
|
||||
$this->contentContainerStart();
|
||||
if (!$noreceiptcomment || $receiptreject)
|
||||
$this->contentContainerStart();
|
||||
if(!$noreceiptcomment) {
|
||||
$this->formField(
|
||||
getMLText("comment"),
|
||||
|
@ -149,7 +150,8 @@ $(document).ready(function() {
|
|||
} else {
|
||||
echo '<input type="hidden" name="receiptStatus" value="1" />';
|
||||
}
|
||||
$this->contentContainerEnd();
|
||||
if (!$noreceiptcomment || $receiptreject)
|
||||
$this->contentContainerEnd();
|
||||
$this->formSubmit(getMLText('submit_receipt'), $receipttype.'Receipt');
|
||||
?>
|
||||
<input type='hidden' name='receiptType' value='<?= $receipttype ?>'/>
|
||||
|
@ -164,4 +166,3 @@ $(document).ready(function() {
|
|||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user