2 [%- SET vclabel = vc == 'customer' ? 'Kunde' : 'Lieferant' %]
5 <form method="post" action="oe.pl">
7 <p><div class="listtop">[% HTML.escape(title) %]</div></p>
14 <th align="right">[% HTML.escape(vclabel) %]</th>
16 [%- INCLUDE 'generic/multibox.html'
18 default = vc == 'customer' ? oldcustomer : oldvendor,
19 style = 'width: 250px',
30 [%- IF ALL_DEPARTMENTS.size %]
32 <th align="right" nowrap>Abteilung</th>
34 [%- INCLUDE 'generic/multibox.html'
35 name = 'department_id',
36 style = 'width: 250px',
37 DATA = ALL_DEPARTMENTS,
39 label_key = 'description',
48 <th align="right">[% HTML.escape(ordlabel) %]</th>
49 <td colspan="3"><input name="[% HTML.escape(ordnrname) %]" style="width: 250px"></td>
52 <th align="right">Bearbeiter</th>
54 [%- INCLUDE 'generic/multibox.html'
56 style = 'width: 250px',
59 label_sub = 'employee_labels',
68 <th align="right">Verkäufer/in</th>
70 [%- INCLUDE 'generic/multibox.html'
72 style = 'width: 250px',
75 label_sub = 'salesman_labels',
83 <th align="right">Vorgangsbezeichnung</th>
84 <td colspan="3"><input name="transaction_description" style="width: 250px"></td>
87 <th align="right">Projektnummer</th>
89 [%- INCLUDE 'generic/multibox.html'
90 name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
91 style = "width: 250px",
94 label_key = 'projectnumber',
102 <th align="right">Auftragsdatum Von</th>
104 <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
105 <input type="button" name="transdatefrom" id="trigger3" value="?">
107 <th align="right">bis</th>
109 <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
110 <input type="button" name="transdateto" name="transdateto" id="trigger4" value="?">
114 <th align="right">Lieferdatum Von</th>
116 <input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
117 <input type=button name=reqdatefrom id="trigger5" value=?>
119 <th align="right">bis</th>
121 <input name=reqdateto id=reqdateto size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
122 <input type=button name=reqdateto name=reqdateto id="trigger6" value=?>
126 <th align="right">In Bericht aufnehmen</th>
131 <input type="checkbox" name="open" value="1" id="open" checked>
132 <label for="open">Offen</label>
135 <input type="checkbox" name="closed" value="1" id="closed">
136 <label for="closed">Geschlossen</label>
139 [%- IF type == 'sales_order' OR type == 'purchase_order' %]
142 <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
143 <label for="notdelivered">Nicht geliefert</label>
146 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
147 <label for="delivered">Geliefert</label>
153 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
154 <label for="l_id">Buchungsnummer</label>
157 <input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" class="checkbox" type="checkbox" value="Y" checked>
158 <label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
163 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
164 <label for="l_transdate">Datum</label>
167 <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
168 <label for="l_reqdate">Lieferdatum</label>
173 <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
174 <label for="l_name">[% HTML.escape(vclabel) %]
177 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
178 <label for="l_employee">Bearbeiter</label>
181 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
182 <label for="l_shipvia">Transportmittel</label>
187 <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
188 <label for="l_netamount">Betrag</label>
191 <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
192 <label for="l_tax">Steuer</label>
195 <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
196 <label for="l_amount">Summe</label>
201 <input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y">
202 <label for="l_marge_total">Ertrag</label>
205 <input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
206 <label for="l_marge_percent">Ertrag prozentual</label>
211 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
212 <label for="l_globalprojectnumber">Projektnummer</label>
215 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
216 <label for="l_transaction_description">Vorgangsbezeichnung</label>
221 <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
222 <label for="l_subtotal">Zwischensumme</label>
225 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
226 <label for="l_salesman">Verkäufer/in</label>
230 <td colspan=4 align=left><b>Kunde</td>
234 <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
235 <label for="l_country">Land</label>
238 <input name="l_ustid" id="l_ustid" class="checkbox" type="checkbox" value="Y">
239 <label for="l_ustid">USt-IdNr.</label>
242 [%- IF type == 'sales_order' %]
243 <tr><td colspan="3"><hr></td></tr>
253 <script type="text/javascript">
255 Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger3" });
256 Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger4" });
257 Calendar.setup({ inputField : "reqdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger5" });
258 Calendar.setup({ inputField : "reqdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger6" });
263 <input type="hidden" name="nextsub" value="orders">
264 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
265 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
266 <input class="submit" type="submit" name="action" value="Weiter">