53b34e423d593464b4abbefeafdfaffdddc69aba
[kivitendo-erp.git] / templates / webpages / dunning / search.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE L %][%- USE P -%]
4 <h1>[% title %]</h1>
5
6 [% INCLUDE 'common/flash.html' %]
7
8  <form method="post" name="search" action="dn.pl" id="form">
9
10   <table width="100%">
11    <tr>
12     <td>
13      <table>
14       <tr>
15        <th align="right">[% 'Customer' | $T8 %]</th>
16        <td colspan="3">[% P.input_tag("customer", "", size="35", class="initial_focus") %]</td>
17       </tr>
18
19       [% IF SHOW_DUNNING_LEVELS %]
20        <tr>
21         <th align="right" nowrap>[% 'Dunning Level' | $T8 %]</th>
22         <td colspan="3">
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>
26           [% END %]
27          </select>
28         </td>
29        </tr>
30       [% END %]
31
32       [% IF ALL_DEPARTMENTS.as_list.size %]
33        <tr>
34         <th align="right" nowrap>[% 'Department' | $T8 %]</th>
35         <td colspan="3">
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>
39           [% END %]
40          </select>
41         </td>
42        </tr>
43       [% END %]
44
45       <tr>
46        <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
47        <td colspan="3"><input name="invnumber" size="20"></td>
48       </tr>
49
50       <tr>
51        <th align="right" nowrap>[% 'Dunning number' | $T8 %]</th>
52        <td colspan="3"><input name="dunning_id" size="20"></td>
53       </tr>
54
55       <tr>
56        <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
57        <td colspan="3"><input name="ordnumber" size="20"></td>
58       </tr>
59
60       <tr>
61        <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
62        <td colspan="3"><input name="notes" size="40"></td>
63       </tr>
64
65       <tr>
66        <th align="right" nowrap>[% 'Invdate from' | $T8 %]</th>
67        <td>
68          [% L.date_tag('transdatefrom') %]
69        </td>
70        <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
71        <td>
72          [% L.date_tag('transdateto') %]
73        </td>
74       </tr>
75
76       <tr>
77        <th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
78        <td>
79         [% L.date_tag('dunningfrom') %]
80        </td>
81        <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
82        <td>
83         [% L.date_tag('dunningto') %]
84        </td>
85       </tr>
86       <tr>
87        <th align="right">[% 'Salesman' | $T8 %]</th>
88        <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
89       </tr>
90      </table>
91     </td>
92    </tr>
93
94    <tr><td><hr size="3" noshade></td></tr>
95
96    <tr>
97     <td>
98      <table>
99       <tr>
100        <th align="right" nowrap>[% 'Show old dunnings' | $T8 %]</th>
101        <td><input type="checkbox" value="1" name="showold"></td>
102        <th align="right" nowrap>[% 'Show Salesman' | $T8 %]</th>
103        <td><input type="checkbox" value="1" name="l_salesman"></td>
104       </tr>
105       <tr>
106        [%- IF INSTANCE_CONF.get_email_journal %]
107         <th align="right" nowrap>[% 'Show E-Mails' | $T8 %]</th>
108         <td><input type="checkbox" value="1" name="l_mails" checked></td>
109        [%- END %]
110        [%- IF INSTANCE_CONF.get_webdav %]
111         <th align="right" nowrap>[% 'Show documents in WebDAV' | $T8 %]</th>
112         <td><input type="checkbox" value="1" name="l_webdav" checked></td>
113        [%- END %]
114        [%- IF INSTANCE_CONF.get_doc_storage %]
115         <th align="right" nowrap>[% 'Show documents in file storage' | $T8 %]</th>
116         <td><input type="checkbox" value="1" name="l_documents" checked></td>
117        [%- END %]
118       </tr>
119      </table>
120     </td>
121    </tr>
122   </table>
123  </form>