6 [% PROCESS 'common/flash.html' %]
8 <form method="post" name="search" action="dn.pl">
15 <th align="right">[% 'Customer' | $T8 %]</th>
17 [% IF SHOW_CUSTOMER_DDBOX %]
18 <select id='customer' name="customer_id" class="initial_focus">
19 <option value=""></option>
20 [% FOREACH row = ALL_CUSTOMERS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.name) %]</option>
24 <input id='customer' name="customer" size="35" class="initial_focus">
29 [% IF SHOW_DUNNING_LEVELS %]
31 <th align="right" nowrap>[% 'Dunning Level' | $T8 %]</th>
33 <select name="dunning_level">
34 <option value=""></option>
35 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
42 [% IF SHOW_DEPARTMENT_DDBOX %]
44 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
46 <select name="department_id">
47 <option value=""></option>
48 [% FOREACH row = ALL_DEPARTMENTS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
56 <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
57 <td colspan="3"><input name="invnumber" size="20"></td>
61 <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
62 <td colspan="3"><input name="ordnumber" size="20"></td>
66 <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
67 <td colspan="3"><input name="notes" size="40"></td>
71 <th align="right" nowrap>[% 'Invdate from' | $T8 %]</th>
73 [% L.date_tag('transdatefrom') %]
75 <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
77 [% L.date_tag('transdateto') %]
82 <th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
84 [% L.date_tag('dunningfrom') %]
86 <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
88 [% L.date_tag('dunningto') %]
92 <th align="right">[% 'Salesman' | $T8 %]</th>
93 <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
99 <tr><td><hr size="3" noshade></td></tr>
105 <th align="right" nowrap>[% 'Show old dunnings' | $T8 %]</th>
106 <td><input type="checkbox" value="1" name="showold"></td>
107 <th align="right" nowrap>[% 'Show Salesman' | $T8 %]</th>
108 <td><input type="checkbox" value="1" name="l_salesman"></td>
115 <input type="hidden" name="nextsub" value="show_dunning">
119 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">