4 <body onLoad="[% onload %]">
6 <script type="text/javascript" src="js/common.js"></script>
8 <form method="post" name="search" action="dn.pl">
10 <div class="listtop">[% title %]</div>
18 <th align="right">[% 'Customer' | $T8 %]</th>
20 [% IF SHOW_CUSTOMER_DDBOX %]
21 <select name="customer_id">
22 <option value=""></option>
23 [% FOREACH row = ALL_CUSTOMERS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.name) %]</option>
27 <input name="customer" size="35">
32 [% IF SHOW_DUNNING_LEVELS %]
34 <th align="right" nowrap>[% 'Dunning Level' | $T8 %]</th>
36 <select name="dunning_level">
37 <option value=""></option>
38 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
45 [% IF SHOW_DEPARTMENT_DDBOX %]
47 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
49 <select name="department_id">
50 <option value=""></option>
51 [% FOREACH row = ALL_DEPARTMENTS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
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>
74 <th align="right" nowrap>[% 'Invdate from' | $T8 %]</th>
76 [% L.date_tag('transdatefrom') %]
78 <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
80 [% L.date_tag('transdateto') %]
85 <th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
87 [% L.date_tag('dunningfrom') %]
89 <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
91 [% L.date_tag('dunningto') %]
95 <th align="right">[% 'Salesman' | $T8 %]</th>
96 <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
102 <tr><td><hr size="3" noshade></td></tr>
108 <th align="right" nowrap>[% 'Show old dunnings' | $T8 %]</th>
109 <td><input type="checkbox" value="1" name="showold"></td>
110 <th align="right" nowrap>[% 'Show Salesman' | $T8 %]</th>
111 <td><input type="checkbox" value="1" name="l_salesman"></td>
118 <input type="hidden" name="nextsub" value="show_dunning">
122 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">