2 [% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
3 <script type="text/javascript">
5 function setup_controls() {
11 <body onLoad="setup_controls();">
13 <div class="listtop">[% title %]</div>
15 <form method="post" name="search" action="dn.pl">
19 <th align="right">[% 'Customer' | $T8 %]</th>
21 [% IF SHOW_CUSTOMER_SELECTION %]
22 <select name="customer">
24 [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
27 <input name="customer" size="35">
32 [% IF SHOW_DUNNING_LEVEL_SELECTION %]
34 <th align="right">[% 'Next Dunning Level' | $T8 %]</th>
36 <select name="dunning_level">
38 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
44 [% IF SHOW_DEPARTMENT_SELECTION %]
46 <th align="right">[% 'Department' | $T8 %]</th>
48 <select name="department">
50 [% FOREACH row = all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>[% END %]
57 <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
58 <td colspan="3"><input name="invnumber" size="20"></td>
62 <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
63 <td colspan="3"><input name="ordnumber" size="20"></td>
67 <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
68 <td colspan="3"><input name="notes" size="40"></td>
71 <th align="right" nowrap>[% 'Country' | $T8 %]</th>
72 <td colspan="3"><input name="country" size="40"></td>
75 <tr><td colspan="2"><hr size="3" noshade></td></tr>
78 <th align="right" nowrap>[% 'Minimum Amount' | $T8 %]</th>
79 <td><input name="minamount" size="6"></td>
83 <th align="right" nowrap>[% 'Group Invoices' | $T8 %]</th>
84 <td><input type="checkbox" value="1" name="groupinvoices" checked></td>
88 <input type="hidden" name="nextsub" value="show_invoices">
91 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">