gelöschte Benutzer in dunning/search ausblenden.
[kivitendo-erp.git] / templates / webpages / dunning / search.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE L %]
4 <body onLoad="[% onload %]">
5
6  <script type="text/javascript" src="js/common.js"></script>
7
8  <form method="post" name="search" action="dn.pl">
9
10   <div class="listtop">[% title %]</div>
11
12   <table width="100%">
13    <tr height="5"></tr>
14    <tr>
15     <td>
16      <table>
17       <tr>
18        <th align="right">[% 'Customer' | $T8 %]</th>
19        <td colspan="3">
20         [% IF SHOW_CUSTOMER_DDBOX %]
21          <select name="customer_id">
22           <option value=""></option>
23           [% FOREACH row = ALL_CUSTOMERS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.name) %]</option>
24           [% END %]
25          </select>
26          [% ELSE %]
27          <input name="customer" size="35">
28         [% END %]
29        </td>
30       </tr>
31
32       [% IF SHOW_DUNNING_LEVELS %]
33        <tr>
34         <th align="right" nowrap>[% 'Dunning Level' | $T8 %]</th>
35         <td colspan="3">
36          <select name="dunning_level">
37           <option value=""></option>
38           [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
39           [% END %]
40          </select>
41         </td>
42        </tr>
43       [% END %]
44
45       [% IF SHOW_DEPARTMENT_DDBOX %]
46        <tr>
47         <th align="right" nowrap>[% 'Department' | $T8 %]</th>
48         <td colspan="3">
49          <select name="department_id">
50           <option value=""></option>
51           [% FOREACH row = ALL_DEPARTMENTS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
52           [% END %]
53          </select>
54         </td>
55        </tr>
56       [% END %]
57
58       <tr>
59        <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
60        <td colspan="3"><input name="invnumber" size="20"></td>
61       </tr>
62
63       <tr>
64        <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
65        <td colspan="3"><input name="ordnumber" size="20"></td>
66       </tr>
67
68       <tr>
69        <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
70        <td colspan="3"><input name="notes" size="40"></td>
71       </tr>
72
73       <tr>
74        <th align="right" nowrap>[% 'Invdate from' | $T8 %]</th>
75        <td>
76         <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
77         <input type="button" name="transdatefrom" id="trigger1" value="?">
78        </td>
79        <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
80        <td>
81         <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
82         <input type="button" name="transdateto" id="trigger2" value="?">
83        </td>
84       </tr>
85
86       <tr>
87        <th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
88        <td>
89         <input name="dunningfrom" id="dunningfrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
90         <input type="button" name="dunningfrom" id="trigger3" value="?">
91        </td>
92        <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
93        <td>
94         <input name="dunningto" id="dunningto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
95         <input type="button" name="dunningto" id="trigger4" value="?">
96        </td>
97       </tr>
98       <tr>
99        <th align="right">[% 'Salesman' | $T8 %]</th>
100        <td>[% L.select_tag('salesman_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %]</td>
101       </tr>
102      </table>
103     </td>
104    </tr>
105
106    <tr><td><hr size="3" noshade></td></tr>
107
108    <tr>
109     <td>
110      <table>
111       <tr>
112        <th align="right" nowrap>[% 'Show old dunnings' | $T8 %]</th>
113        <td><input type="checkbox" value="1" name="showold"></td>
114        <th align="right" nowrap>[% 'Show Salesman' | $T8 %]</th>
115        <td><input type="checkbox" value="1" name="l_salesman"></td>
116       </tr>
117      </table>
118     </td>
119    </tr>
120   </table>
121
122   <input type="hidden" name="nextsub" value="show_dunning">
123
124   <br>
125
126   <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
127
128  </form>
129
130  <script type="text/javascript">
131   <!--
132       Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
133       Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger2" });
134       Calendar.setup({ inputField : "dunningfrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger3" });
135       Calendar.setup({ inputField : "dunningto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger4" });
136     -->
137  </script>
138
139 </body>
140
141 </html>