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'
91 style = "width: 250px",
94 label_key = 'projectnumber',
102 <th align="right">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">In Bericht aufnehmen</th>
119 <input type="checkbox" name="open" value="1" id="open" checked>
120 <label for="open">Offen</label>
123 <input type="checkbox" name="closed" value="1" id="closed">
124 <label for="closed">Geschlossen</label>
127 [%- IF type == 'sales_order' OR type == 'purchase_order' %]
130 <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
131 <label for="notdelivered">Nicht geliefert</label>
134 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
135 <label for="delivered">Geliefert</label>
141 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
142 <label for="l_id">Buchungsnummer</label>
145 <input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" class="checkbox" type="checkbox" value="Y" checked>
146 <label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
151 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
152 <label for="l_transdate">Datum</label>
155 <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
156 <label for="l_reqdate">Lieferdatum</label>
161 <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
162 <label for="l_name">[% HTML.escape(vclabel) %]
165 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
166 <label for="l_employee">Bearbeiter</label>
169 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
170 <label for="l_shipvia">Transportmittel</label>
175 <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
176 <label for="l_netamount">Betrag</label>
179 <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
180 <label for="l_tax">Steuer</label>
183 <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
184 <label for="l_amount">Summe</label>
189 <input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y">
190 <label for="l_marge_total">Ertrag</label>
193 <input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
194 <label for="l_marge_percent">Ertrag prozentual</label>
199 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
200 <label for="l_globalprojectnumber">Projektnummer</label>
203 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
204 <label for="l_transaction_description">Vorgangsbezeichnung</label>
209 <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
210 <label for="l_subtotal">Zwischensumme</label>
213 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
214 <label for="l_salesman">Verkäufer/in</label>
217 [%- IF type == 'sales_order' %]
218 <tr><td colspan="3"><hr></td></tr>
228 <script type="text/javascript">
230 Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger3" });
231 Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger4" });
236 <input type="hidden" name="nextsub" value="orders">
237 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
238 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
239 <input class="submit" type="submit" name="action" value="Weiter">