allow to add file if group has to approve

This commit is contained in:
Uwe Steinmann 2015-08-09 07:16:04 +02:00
parent 63f075f969
commit baa0d11d1c

View File

@ -170,12 +170,20 @@ function checkGrpForm()
} }
?> ?>
<form method="POST" action="../op/op.ApproveDocument.php" name="form1" onsubmit="return checkGrpForm();"> <form method="POST" action="../op/op.ApproveDocument.php" name="form1" enctype="multipart/form-data" onsubmit="return checkGrpForm();">
<?php echo createHiddenFieldWithKey('approvedocument'); ?> <?php echo createHiddenFieldWithKey('approvedocument'); ?>
<table> <table>
<tr><td><?php printMLText("comment")?>:</td> <tr><td><?php printMLText("comment")?>:</td>
<td><textarea name="comment" cols="80" rows="4"></textarea> <td><textarea name="comment" cols="80" rows="4"></textarea>
</td></tr> </td></tr>
<tr>
<td><?php printMLText("approval_file")?>:</td>
<td>
<?php
$this->printFileChooser('approvalfile', false);
?>
</td>
</tr>
<tr><td><?php printMLText("approval_status")?>:</td> <tr><td><?php printMLText("approval_status")?>:</td>
<td> <td>
<select name="approvalStatus"> <select name="approvalStatus">