f27c2fe1e899964375b93354c59e36c891378eda
[kivitendo-erp.git] / templates / webpages / dunning / search.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE L %]
4  <script type="text/javascript" src="js/common.js"></script>
5
6  <form method="post" name="search" action="dn.pl">
7
8   <div class="listtop">[% title %]</div>
9
10   <table width="100%">
11    <tr height="5"></tr>
12    <tr>
13     <td>
14      <table>
15       <tr>
16        <th align="right">[% 'Customer' | $T8 %]</th>
17        <td colspan="3">
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>
22           [% END %]
23          </select>
24          [% ELSE %]
25          <input id='customer' name="customer" size="35" class="initial_focus">
26         [% END %]
27        </td>
28       </tr>
29
30       [% IF SHOW_DUNNING_LEVELS %]
31        <tr>
32         <th align="right" nowrap>[% 'Dunning Level' | $T8 %]</th>
33         <td colspan="3">
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>
37           [% END %]
38          </select>
39         </td>
40        </tr>
41       [% END %]
42
43       [% IF SHOW_DEPARTMENT_DDBOX %]
44        <tr>
45         <th align="right" nowrap>[% 'Department' | $T8 %]</th>
46         <td colspan="3">
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>
50           [% END %]
51          </select>
52         </td>
53        </tr>
54       [% END %]
55
56       <tr>
57        <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
58        <td colspan="3"><input name="invnumber" size="20"></td>
59       </tr>
60
61       <tr>
62        <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
63        <td colspan="3"><input name="ordnumber" size="20"></td>
64       </tr>
65
66       <tr>
67        <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
68        <td colspan="3"><input name="notes" size="40"></td>
69       </tr>
70
71       <tr>
72        <th align="right" nowrap>[% 'Invdate from' | $T8 %]</th>
73        <td>
74          [% L.date_tag('transdatefrom') %]
75        </td>
76        <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
77        <td>
78          [% L.date_tag('transdateto') %]
79        </td>
80       </tr>
81
82       <tr>
83        <th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
84        <td>
85         [% L.date_tag('dunningfrom') %]
86        </td>
87        <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
88        <td>
89         [% L.date_tag('dunningto') %]
90        </td>
91       </tr>
92       <tr>
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>
95       </tr>
96      </table>
97     </td>
98    </tr>
99
100    <tr><td><hr size="3" noshade></td></tr>
101
102    <tr>
103     <td>
104      <table>
105       <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>
110       </tr>
111      </table>
112     </td>
113    </tr>
114   </table>
115
116   <input type="hidden" name="nextsub" value="show_dunning">
117
118   <br>
119
120   <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
121
122  </form>