blob: cfd10c2a14c5403dd291e7687029f18704b17091 (
plain)
- <?lsmb INCLUDE "ui-header.html"
- titlebar = text('Create Batch') # '
- include_stylesheet = [
- "css/scripts/create_batch.css"
- stylesheet
- ]
- ?>
- <body>
- <div class="listtop"><?lsmb text('Create New Batch') ?></div>
- <form name="create_batch" method="post">
- <div class="labelledinput">
- <div class="input">
- <?lsmb text("Batch Number") ?>
- </div>
- <div class="value">
- <input name="batch_number" type="text" value="<?lsmb batch_number ?>"/>
- </div>
- <div class="labelledinput">
- <div class="label">
- <?lsmb text("Description") ?>
- </div>
- <div class="input">
- <input name="description" type="text" value="<?lsmb batchnumber ?>"/>
- </div>
- </div>
- <div class="labelledinput">
- <div class="label">
- <?lsmb text("Batch Date") ?>
- </div>
- <div class="input">
- <input type=text class=date name="batch_date"
- value="<?lsmb batch_date ?>" />
- </div>
- </div>
- <div id="buttons">
- <button value="create_vouchers" type="submit" class="submit" name="action">
- <?lsmb text('Continue') ?></button>
- </div>
- <?lsmb FOREACH item = hidden ?>
- <input type=hidden name="<?lsmb item.name ?>" value="<?lsmb item.value ?>">
- <?lsmb END ?>
- </form>
- <div class="listtop"><?lsmb text('Or Add To Batch') ?></div>
- <table>
- <tr class="listheading">
- <th><?lsmb text('Batch Type') ?></th>
- <th><?lsmb text('Control Number') ?></th>
- <th><?lsmb text('Description') ?></th>
- <th><?lsmb text('Created By') ?></th>
- <th><?lsmb text('Created On') ?></th>
- </tr>
- <?lsmb FOR row = search_results ?>
- <tr>
- <td><?lsmb text(row.batch_class) ?></td>
- <td><a href="<?lsmb "vouchers.pl?action=add_vouchers&batch_type=$batch_type&id=$row.id" ?>"><?lsmb row.control_code ?></td>
- <td><?lsmb row.description ?></td>
- <td><?lsmb row.created_by ?></td>
- <td><?lsmb row.created_on ?></td>
- </tr>
- <?lsmb END ?>
- </table>
- </body>
- </html>
|