Templates werden nicht mehr übersetzt gespeichert.
[kivitendo-erp.git] / templates / webpages / dunning / search_master.html
1 [%- USE T8 %]
2 [% USE HTML %]<body onLoad="[% onload %]">
3
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 name="customer_id">
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 name="customer" size="35">
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         <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
75         <input type="button" name="transdatefrom" id="trigger1" value="?">
76        </td>
77        <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
78        <td>
79         <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
80         <input type="button" name="transdateto" id="trigger2" value="?">
81        </td>
82       </tr>
83
84       <tr>
85        <th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
86        <td>
87         <input name="dunningfrom" id="dunningfrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
88         <input type="button" name="dunningfrom" id="trigger3" value="?">
89        </td>
90        <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
91        <td>
92         <input name="dunningto" id="dunningto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
93         <input type="button" name="dunningto" id="trigger4" value="?">
94        </td>
95       </tr>
96       <tr>
97        <th align="right">[% 'Salesman' | $T8 %]</th>
98        <td>
99         [%- INCLUDE 'generic/multibox.html'
100             name          = 'salesman_id',
101             style         = 'width: 250px',
102             DATA          =  ALL_SALESMEN,
103             id_key        = 'id',
104             label_sub     = 'salesman_labels',
105             limit         = vclimit,
106             show_empty    = 1,
107             allow_textbox = 0,
108          -%]
109        </td>
110       </tr>
111      </table>
112     </td>
113    </tr>
114
115    <tr><td><hr size="3" noshade></td></tr>
116
117    <tr>
118     <td>
119      <table>
120       <tr>
121        <th align="right" nowrap>[% 'Show old dunnings' | $T8 %]</th>
122        <td><input type="checkbox" value="1" name="showold"></td>
123        <th align="right" nowrap>[% 'Show Salesman' | $T8 %]</th>
124        <td><input type="checkbox" value="1" name="l_salesman"></td>
125       </tr>
126      </table>
127     </td>
128    </tr>
129   </table>
130
131   <input type="hidden" name="nextsub" value="show_dunning">
132
133   <br>
134
135   <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
136
137  </form>
138
139  <script type="text/javascript">
140   <!--
141       Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
142       Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger2" });
143       Calendar.setup({ inputField : "dunningfrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger3" });
144       Calendar.setup({ inputField : "dunningto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger4" });
145     -->
146  </script>
147
148 </body>
149
150 </html>