2 [% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
3 <script type="text/javascript">
5 function setup_controls() {
7 setupDateFormat('[% myconfig_dateformat %]', '[% 'Wrong date format!' | $T8 %]');
8 setupPoints('[% myconfig_numberformat %]', '[% 'wrongformat' | $T8 %]');
13 <body onLoad="setup_controls();">
15 <div class="listtop">[% title %]</div>
17 <form method="post" name="search" action="dn.pl">
21 <th align="right">[% 'Customer' | $T8 %]</th>
23 [% IF SHOW_CUSTOMER_SELECTION %]
24 <select name="customer">
26 [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
29 <input name="customer" size="35">
34 [% IF SHOW_DUNNING_LEVEL_SELECTION %]
36 <th align="right">[% 'Next Dunning Level' | $T8 %]</th>
38 <select name="dunning_level">
40 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
46 [% IF SHOW_DEPARTMENT_SELECTION %]
48 <th align="right">[% 'Department' | $T8 %]</th>
50 <select name="department">
52 [% FOREACH row = all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>[% END %]
59 <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
60 <td colspan="3"><input name="invnumber" size="20"></td>
64 <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
65 <td colspan="3"><input name="ordnumber" size="20"></td>
69 <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
70 <td colspan="3"><input name="notes" size="40"></td>
73 <tr><td colspan="2"><hr size="3" noshade></td></tr>
76 <th align="right" nowrap>[% 'Minimum Amount' | $T8 %]</th>
77 <td><input name="minamount" size="6"></td>
81 <th align="right" nowrap>[% 'Group Invoices' | $T8 %]</th>
82 <td><input type="checkbox" value="1" name="groupinvoices" checked></td>
86 <input type="hidden" name="nextsub" value="show_invoices">
89 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">