4 <script type="text/javascript" src="js/common.js"></script>
6 <form method="post" name="search" action="dn.pl">
8 <div class="listtop">[% title %]</div>
16 <th align="right">[% 'Customer' | $T8 %]</th>
18 [% IF SHOW_CUSTOMER_DDBOX %]
19 <select id='customer' name="customer_id" class="initial_focus">
20 <option value=""></option>
21 [% FOREACH row = ALL_CUSTOMERS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.name) %]</option>
25 <input id='customer' name="customer" size="35" class="initial_focus">
30 [% IF SHOW_DUNNING_LEVELS %]
32 <th align="right" nowrap>[% 'Dunning Level' | $T8 %]</th>
34 <select name="dunning_level">
35 <option value=""></option>
36 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
43 [% IF SHOW_DEPARTMENT_DDBOX %]
45 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
47 <select name="department_id">
48 <option value=""></option>
49 [% FOREACH row = ALL_DEPARTMENTS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
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>
72 <th align="right" nowrap>[% 'Invdate from' | $T8 %]</th>
74 [% L.date_tag('transdatefrom') %]
76 <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
78 [% L.date_tag('transdateto') %]
83 <th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
85 [% L.date_tag('dunningfrom') %]
87 <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
89 [% L.date_tag('dunningto') %]
93 <th align="right">[% 'Salesman' | $T8 %]</th>
94 <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
100 <tr><td><hr size="3" noshade></td></tr>
106 <th align="right" nowrap>[% 'Show old dunnings' | $T8 %]</th>
107 <td><input type="checkbox" value="1" name="showold"></td>
108 <th align="right" nowrap>[% 'Show Salesman' | $T8 %]</th>
109 <td><input type="checkbox" value="1" name="l_salesman"></td>
116 <input type="hidden" name="nextsub" value="show_dunning">
120 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">