8 [% INCLUDE 'common/flash.html' %]
10 <form method="post" name="search" action="dn.pl" id="form">
14 <table class="tbl-horizontal">
15 <caption>[% 'Order data' | $T8 %]</caption>
18 <th>[% 'Customer' | $T8 %]</th>
19 <td>[% P.input_tag("customer", "", class="initial_focus wi-lightwide") %]</td>
21 [% IF SHOW_DUNNING_LEVELS %]
23 <th>[% 'Dunning Level' | $T8 %]</th>
25 <select name="dunning_level" class="wi-lightwide">
26 <option value=""></option>
27 [% FOREACH row = DUNNING %]
28 <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
35 <th>[% 'Invoice Number' | $T8 %]</th>
36 <td><input type="text" name="invnumber" class="wi-lightwide">
40 <th>[% 'Dunning number' | $T8 %]</th>
41 <td><input type="text" name="dunning_id" class="wi-lightwide">
45 <th>[% 'Order Number' | $T8 %]</th>
46 <td><input type="text" name="ordnumber" class="wi-lightwide">
50 <th>[% 'Notes' | $T8 %]</th>
51 <td><input type="text" name="notes" class="wi-lightwide">
55 <th>[% 'Invdate from' | $T8 %]</th>
56 <td><span class="wi-date"> [% L.date_tag('transdatefrom') %] [% 'To (time)' | $T8 %] [% L.date_tag('transdateto') %]</span></td>
59 <th>[% 'Dunning Date from' | $T8 %]</th>
60 <td><span class="wi-date"> [% L.date_tag('dunningfrom') %] [% 'To (time)' | $T8 %] [% L.date_tag('dunningto') %]</span></td>
62 [% IF ALL_DEPARTMENTS.as_list.size %]
64 <th>[% 'Department' | $T8 %]</th>
66 <select name="department_id" class="wi-lightwide">
67 <option value=""></option>
68 [% FOREACH row = ALL_DEPARTMENTS %]
69 <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
76 <th>[% 'Salesman' | $T8 %]</th>
77 <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class='wi-lightwide') %]</td>
82 <table class="tbl-horizontal col">
83 <caption>[% 'Options' | $T8 %]</caption>
86 <th>[% 'Show old dunnings' | $T8 %]</th>
87 <td><input type="checkbox" value="1" name="showold">
91 <th>[% 'Show Salesman' | $T8 %]</th>
92 <td><input type="checkbox" value="1" name="l_salesman">
95 [%- IF INSTANCE_CONF.get_email_journal %]
97 <th>[% 'Show E-Mails' | $T8 %]</th>
98 <td><input type="checkbox" value="1" name="l_mails" checked>
102 [%- IF INSTANCE_CONF.get_webdav %]
104 <th>[% 'Show documents in WebDAV' | $T8 %]</th>
105 <td><input type="checkbox" value="1" name="l_webdav" checked>
109 [%- IF INSTANCE_CONF.get_doc_storage %]
111 <th>[% 'Show documents in file storage' | $T8 %]</th>
112 <td><input type="checkbox" value="1" name="l_documents" checked>
119 </div><!-- /.wrapper -->