0ebe9e01c0e8352a32c7486297e6ad92e4b01d2c
[kivitendo-erp.git] / templates / webpages / oe / search_de.html
1 [%- USE HTML %]
2 [%- SET vclabel = vc == 'customer' ? 'Kunde' : 'Lieferant' %]
3 [%- SET vcnumberlabel = vc == 'customer' ? 'Kundennummer' : 'Lieferantennummer' %]
4 <body>
5
6 <form method="post" action="oe.pl">
7
8  <p><div class="listtop">[% HTML.escape(title) %]</div></p>
9
10 <table width="100%">
11  <tr>
12   <td>
13    <table>
14     <tr>
15      <th align="right">[% HTML.escape(vclabel) %]</th>
16      <td colspan="3">
17             [%- INCLUDE 'generic/multibox.html'
18                  name          = vc,
19                  default       = vc == 'customer' ? oldcustomer : oldvendor,
20                  style         = 'width: 250px',
21                  DATA          = ALL_VC,
22                  id_sub        = 'vc_keys',
23                  label_key     = 'name',
24                  select        = vc_select,
25                  limit         = vclimit,
26                  show_empty    = 1,
27                  allow_textbox = 1,
28                  -%]
29      </td>
30     </tr>
31 [%- IF ALL_DEPARTMENTS.size %]
32     <tr>
33      <th align="right" nowrap>Abteilung</th>
34      <td colspan="3">
35             [%- INCLUDE 'generic/multibox.html'
36                  name          = 'department_id',
37                  style         = 'width: 250px',
38                  DATA          = ALL_DEPARTMENTS,
39                  id_key        = 'id',
40                  label_key     = 'description',
41                  limit         = vclimit,
42                  show_empty    = 1,
43                  allow_textbox = 1,
44             -%]
45      </td>
46     </tr>
47 [%- END %]
48     <tr>
49      <th align="right">[% HTML.escape(ordlabel) %]</th>
50      <td colspan="3"><input name="[% HTML.escape(ordnrname) %]" style="width: 250px"></td>
51     </tr>
52     <tr>
53      <th align="right">Bearbeiter</th>
54      <td>
55             [%- INCLUDE 'generic/multibox.html'
56                  name          = 'employee_id',
57                  style         = 'width: 250px',
58                  DATA          =  ALL_EMPLOYEES,
59                  id_key        = 'id',
60                  label_sub     = 'employee_labels',
61                  limit         = vclimit,
62                  show_empty    = 1,
63                  allow_textbox = 0,
64                  default       = ' ',
65             -%]
66      </td>
67     </tr>
68     <tr>
69      <th align="right">Verkäufer/in</th>
70      <td>
71             [%- INCLUDE 'generic/multibox.html'
72                  name          = 'salesman_id',
73                  style         = 'width: 250px',
74                  DATA          =  ALL_SALESMEN,
75                  id_key        = 'id',
76                  label_sub     = 'salesman_labels',
77                  limit         = vclimit,
78                  show_empty    = 1,
79                  allow_textbox = 0,
80             -%]
81      </td>
82     </tr>
83     <tr>
84      <th align="right">Vorgangsbezeichnung</th>
85      <td colspan="3"><input name="transaction_description" style="width: 250px"></td>
86     </tr>
87     <tr>
88      <th align="right">Projektnummer</th>
89      <td colspan="3">
90             [%- INCLUDE 'generic/multibox.html'
91                  name          =  vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
92                  style         = "width: 250px",
93                  DATA          =  ALL_PROJECTS,
94                  id_key        = 'id',
95                  label_key     = 'projectnumber',
96                  limit         = vclimit,
97                  show_empty    = 1,
98                  allow_textbox = 1,
99             -%]
100      </td>
101     </tr>
102     <tr>
103      <th align="right">Auftragsdatum Von</th>
104      <td>
105       <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
106       <input type="button" name="transdatefrom" id="trigger3" value="?">
107      </td>
108      <th align="right">bis</th>
109      <td>
110       <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
111       <input type="button" name="transdateto" name="transdateto" id="trigger4" value="?">
112      </td>
113     </tr>
114     <tr>
115      <th align="right">Lieferdatum Von</th>
116      <td>
117       <input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
118       <input type=button name=reqdatefrom id="trigger5" value=?>
119      </td>
120      <th align="right">bis</th>
121      <td>
122       <input name=reqdateto id=reqdateto size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
123       <input type=button name=reqdateto name=reqdateto id="trigger6" value=?>
124      </td>
125     </tr>
126     <tr>
127      <th align="right">In Bericht aufnehmen</th>
128      <td colspan="5">
129       <table>
130        <tr>
131         <td>
132          <input type="checkbox" name="open" value="1" id="open" checked>
133          <label for="open">Offen</label>
134         </td>
135         <td>
136          <input type="checkbox" name="closed" value="1" id="closed">
137          <label for="closed">Geschlossen</label>
138         </td>
139        </tr>
140 [%- IF type == 'sales_order' OR type == 'purchase_order' %]
141        <tr>
142         <td>
143          <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
144          <label for="notdelivered">Nicht geliefert</label>
145         </td>
146         <td>
147          <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
148          <label for="delivered">Geliefert</label>
149         </td>
150        </tr>
151 [%- END %]
152        <tr>
153         <td>
154          <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
155          <label for="l_id">Buchungsnummer</label>
156         </td>
157         <td>
158          <input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" class="checkbox" type="checkbox" value="Y" checked>
159          <label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
160         </td>
161        </tr>
162        <tr>
163         <td>
164          <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
165          <label for="l_transdate">Datum</label>
166         </td>
167         <td>
168          <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
169          <label for="l_reqdate">Lieferdatum</label>
170         </td>
171        </tr>
172        <tr>
173         <td>
174          <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
175          <label for="l_name">[% HTML.escape(vclabel) %]
176         </td>
177         <td>
178          <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
179          <label for="l_employee">Bearbeiter</label>
180         </td>
181         <td>
182          <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
183          <label for="l_shipvia">Transportmittel</label>
184         </td>
185        </tr>
186        <tr>
187         <td>
188          <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
189          <label for="l_netamount">Betrag</label>
190         </td>
191         <td>
192          <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
193          <label for="l_tax">Steuer</label>
194         </td>
195         <td>
196          <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
197          <label for="l_amount">Summe</label>
198         </td>
199        </tr>
200        <tr>
201         <td>
202          <input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y">
203          <label for="l_marge_total">Ertrag</label>
204         </td>
205         <td>
206          <input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
207          <label for="l_marge_percent">Ertrag prozentual</label>
208         </td>
209        </tr>
210        <tr>
211         <td>
212          <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
213          <label for="l_globalprojectnumber">Projektnummer</label>
214         </td>
215         <td>
216          <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
217          <label for="l_transaction_description">Vorgangsbezeichnung</label>
218         </td>
219        </tr>
220        <tr>
221         <td>
222          <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
223          <label for="l_subtotal">Zwischensumme</label>
224         </td>
225         <td>
226          <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
227          <label for="l_salesman">Verkäufer/in</label>
228         </td>
229        </tr>
230        <tr>
231         <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</td>
232        </tr>
233        <tr>
234         <td>
235          <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
236          <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
237         </td>
238         <td>
239          <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
240          <label for="l_country">Land</label>
241         </td>
242         <td>
243          <input name="l_ustid"  id="l_ustid" class="checkbox" type="checkbox" value="Y">
244          <label for="l_ustid">USt-IdNr.</label>
245         </td>
246        </tr>
247 [%- IF type == 'sales_order' %]
248        <tr><td colspan="3"><hr></td></tr>
249 [%- END %]
250       </table>
251      </td>
252     </tr>
253    </table>
254   </td>
255  </tr>
256 </table>
257
258 <script type="text/javascript">
259  <!--
260    Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger3" });
261    Calendar.setup({ inputField : "transdateto",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger4" });
262    Calendar.setup({ inputField : "reqdatefrom",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger5" });
263    Calendar.setup({ inputField : "reqdateto",     ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger6" });
264  //-->
265 </script>
266
267 <br>
268 <input type="hidden" name="nextsub" value="orders">
269 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
270 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
271 <input class="submit" type="submit" name="action" value="Weiter">
272 </form>
273
274 </body>
275 </html>