2 [% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
5 <form method="post" name="search" action="dn.pl">
9 <th align="right">[% 'Customer' | $T8 %]</th>
11 [% IF SHOW_CUSTOMER_SELECTION %]
12 <select name="customer" class="initial_focus">
14 [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
17 <input name="customer" size="35" class="initial_focus">
22 [% IF SHOW_DUNNING_LEVEL_SELECTION %]
24 <th align="right">[% 'Next Dunning Level' | $T8 %]</th>
26 <select name="dunning_level">
28 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
34 [% IF SHOW_DEPARTMENT_SELECTION %]
36 <th align="right">[% 'Department' | $T8 %]</th>
38 <select name="department">
40 [% FOREACH row = all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>[% END %]
47 <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
48 <td colspan="3"><input name="invnumber" size="20"></td>
52 <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
53 <td colspan="3"><input name="ordnumber" size="20"></td>
57 <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
58 <td colspan="3"><input name="notes" size="40"></td>
61 <th align="right" nowrap>[% 'Country' | $T8 %]</th>
62 <td colspan="3"><input name="country" size="40"></td>
65 <tr><td colspan="2"><hr size="3" noshade></td></tr>
68 <th align="right" nowrap>[% 'Minimum Amount' | $T8 %]</th>
69 <td><input name="minamount" size="6"></td>
73 <th align="right" nowrap><label for="groupinvoices">[% 'Group Invoices' | $T8 %]</label></th>
74 <td><input type="checkbox" value="1" id="groupinvoices" name="groupinvoices" checked></td>
78 <th align="right" nowrap><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
79 <td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
83 <input type="hidden" name="nextsub" value="show_invoices">
86 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">