1 [% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
2 <script type="text/javascript">
4 function setup_controls() {
6 setupDateFormat('[% myconfig_dateformat %]', '<translate>Wrong date format!</translate>');
7 setupPoints('[% myconfig_numberformat %]', '<translate>wrongformat</translate>');
12 <body onLoad="setup_controls();">
14 <div class="listtop">[% title %]</div>
16 <form method="post" name="search" action="dn.pl">
20 <th align="right"><translate>Customer</translate></th>
22 [% IF SHOW_CUSTOMER_SELECTION %]
23 <select name="customer">
25 [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
28 <input name="customer" size="35">
33 [% IF SHOW_DUNNING_LEVEL_SELECTION %]
35 <th align="right"><translate>Next Dunning Level</translate></th>
37 <select name="dunning_level">
39 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
45 [% IF SHOW_DEPARTMENT_SELECTION %]
47 <th align="right"><translate>Department</translate></th>
49 <select name="department">
51 [% FOREACH row = all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>[% END %]
58 <th align="right" nowrap><translate>Invoice Number</translate></th>
59 <td colspan="3"><input name="invnumber" size="20"></td>
63 <th align="right" nowrap><translate>Order Number</translate></th>
64 <td colspan="3"><input name="ordnumber" size="20"></td>
68 <th align="right" nowrap><translate>Notes</translate></th>
69 <td colspan="3"><input name="notes" size="40"></td>
72 <tr><td colspan="2"><hr size="3" noshade></td></tr>
75 <th align="right" nowrap><translate>Minimum Amount</translate></th>
76 <td><input name="minamount" size="6"></td>
80 <th align="right" nowrap><translate>Group Invoices</translate></th>
81 <td><input type="checkbox" value="1" name="groupinvoices" checked></td>
85 <input type="hidden" name="nextsub" value="show_invoices">
87 <input type="hidden" name="login" value="[% HTML.escape(login) %]">
88 <input type="hidden" name="password" value="[% HTML.escape(password) %]">
91 <input class="submit" type="submit" name="action" value="<translate>Continue</translate>">