3 [%- USE L %][%- USE P -%]
6 [% PROCESS 'common/flash.html' %]
8 <form method="post" name="search" action="dn.pl">
15 <th align="right">[% 'Customer' | $T8 %]</th>
16 <td colspan="3">[% P.input_tag("customer", "", size="35", class="initial_focus") %]</td>
19 [% IF SHOW_DUNNING_LEVELS %]
21 <th align="right" nowrap>[% 'Dunning Level' | $T8 %]</th>
23 <select name="dunning_level">
24 <option value=""></option>
25 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
32 [% IF ALL_DEPARTMENTS.as_list.size %]
34 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
36 <select name="department_id">
37 <option value=""></option>
38 [% FOREACH row = ALL_DEPARTMENTS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
46 <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
47 <td colspan="3"><input name="invnumber" size="20"></td>
51 <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
52 <td colspan="3"><input name="ordnumber" size="20"></td>
56 <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
57 <td colspan="3"><input name="notes" size="40"></td>
61 <th align="right" nowrap>[% 'Invdate from' | $T8 %]</th>
63 [% L.date_tag('transdatefrom') %]
65 <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
67 [% L.date_tag('transdateto') %]
72 <th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
74 [% L.date_tag('dunningfrom') %]
76 <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
78 [% L.date_tag('dunningto') %]
82 <th align="right">[% 'Salesman' | $T8 %]</th>
83 <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
89 <tr><td><hr size="3" noshade></td></tr>
95 <th align="right" nowrap>[% 'Show old dunnings' | $T8 %]</th>
96 <td><input type="checkbox" value="1" name="showold"></td>
97 <th align="right" nowrap>[% 'Show Salesman' | $T8 %]</th>
98 <td><input type="checkbox" value="1" name="l_salesman"></td>
105 <input type="hidden" name="nextsub" value="show_dunning">
109 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">