[%- USE T8 %]
[% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
- <div class="listtop">[% title %]</div>
+<h1>[% title %]</h1>
- <form method="post" name="search" action="dn.pl">
+ <form method="post" name="search" action="dn.pl" id="form">
<table>
<tr>
<th align="right">[% 'Customer' | $T8 %]</th>
<td colspan="3">
- [% IF SHOW_CUSTOMER_SELECTION %]
- <select name="customer">
- <option></option>
- [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
- </select>
- [% ELSE %]
- <input name="customer" size="35">
- [% END %]
+ <input name="customer" size="35" class="initial_focus">
</td>
</tr>
</tr>
[% END %]
- [% IF SHOW_DEPARTMENT_SELECTION %]
- <tr>
- <th align="right">[% 'Department' | $T8 %]</th>
- <td colspan="3">
- <select name="department">
- <option></option>
- [% FOREACH row = all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>[% END %]
- </select>
- </td>
- </tr>
- [% END %]
-
<tr>
<th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
<td colspan="3"><input name="invnumber" size="20"></td>
</tr>
<tr>
- <th align="right" nowrap>[% 'Group Invoices' | $T8 %]</th>
- <td><input type="checkbox" value="1" name="groupinvoices" checked></td>
+ <th align="right" nowrap><label for="groupinvoices">[% 'Group Invoices' | $T8 %]</label></th>
+ <td><input type="checkbox" value="1" id="groupinvoices" name="groupinvoices" checked></td>
</tr>
- </table>
-
- <input type="hidden" name="nextsub" value="show_invoices">
-
- <br>
- <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
+ <tr>
+ <th align="right" nowrap><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
+ <td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
+ </tr>
+ </table>
</form>
-
-