5 [%- SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]
6 [%- SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %]
9 <form method="post" action="oe.pl">
11 <p><div class="listtop">[% HTML.escape(title) %]</div></p>
18 <th align="right">[% HTML.escape(vclabel) %]</th>
20 [%- INCLUDE 'generic/multibox.html'
22 default = vc == 'customer' ? oldcustomer : oldvendor,
23 style = 'width: 250px',
34 [%- IF ALL_DEPARTMENTS.size %]
36 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
38 [%- INCLUDE 'generic/multibox.html'
39 name = 'department_id',
40 style = 'width: 250px',
41 DATA = ALL_DEPARTMENTS,
43 label_key = 'description',
52 <th align="right">[% HTML.escape(ordlabel) %]</th>
53 <td colspan="3"><input name="[% HTML.escape(ordnrname) %]" style="width: 250px"></td>
56 <th align="right">[% 'Employee' | $T8 %]</th>
58 [%- INCLUDE 'generic/multibox.html'
60 style = 'width: 250px',
63 label_sub = 'employee_labels',
72 <th align="right">[% 'Salesman' | $T8 %]</th>
74 [%- INCLUDE 'generic/multibox.html'
76 style = 'width: 250px',
79 label_sub = 'salesman_labels',
87 <th align="right">[% 'Transaction description' | $T8 %]</th>
88 <td colspan="3"><input name="transaction_description" style="width: 250px"></td>
91 <th align="right">[% 'Project Number' | $T8 %]</th>
93 [%- INCLUDE 'generic/multibox.html'
94 name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
95 style = "width: 250px",
98 label_key = 'projectnumber',
106 <th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
108 <input name="transdatefrom" id="transdatefrom" size="11" title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
109 <input type="button" name="transdatefrom" id="trigger3" value="?">
111 <th align="right">[% 'Bis' | $T8 %]</th>
113 <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
114 <input type="button" name="transdateto" name="transdateto" id="trigger4" value="?">
118 <th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
120 <input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
121 <input type=button name=reqdatefrom id="trigger5" value=?>
123 <th align="right">[% 'Bis' | $T8 %]</th>
125 <input name=reqdateto id=reqdateto size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
126 <input type=button name=reqdateto name=reqdateto id="trigger6" value=?>
130 <th align="right">[% 'Include in Report' | $T8 %]</th>
135 <input type="checkbox" name="open" value="1" id="open" checked>
136 <label for="open">[% 'Open' | $T8 %]</label>
139 <input type="checkbox" name="closed" value="1" id="closed">
140 <label for="closed">[% 'Closed' | $T8 %]</label>
143 [%- IF type == 'sales_order' OR type == 'purchase_order' %]
146 <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
147 <label for="notdelivered">[% 'Not delivered' | $T8 %]</label>
150 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
151 <label for="delivered">[% 'Delivered' | $T8 %]</label>
155 [%- IF type == 'sales_order' %]
158 [% L.checkbox_tag("periodic_invoices_active", label => LxERP.t8("Periodic invoices active")) %]
161 [% L.checkbox_tag("periodic_invoices_inactive", label => LxERP.t8("Periodic invoices inactive")) %]
167 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
168 <label for="l_id">[% 'ID' | $T8 %]</label>
171 <input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" class="checkbox" type="checkbox" value="Y" checked>
172 <label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
177 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
178 <label for="l_transdate">[% 'Date' | $T8 %]</label>
181 <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
182 <label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label>
187 <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
188 <label for="l_name">[% HTML.escape(vclabel) %]
191 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
192 <label for="l_employee">[% 'Employee' | $T8 %]</label>
195 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
196 <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
201 <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
202 <label for="l_netamount">[% 'Amount' | $T8 %]</label>
205 <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
206 <label for="l_tax">[% 'Tax' | $T8 %]</label>
209 <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
210 <label for="l_amount">[% 'Total' | $T8 %]</label>
215 <input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y">
216 <label for="l_marge_total">[% 'Ertrag' | $T8 %]</label>
219 <input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
220 <label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label>
225 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
226 <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
229 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
230 <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
235 <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
236 <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
239 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
240 <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
244 <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</td>
248 <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
249 <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
252 <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
253 <label for="l_country">[% 'Country' | $T8 %]</label>
256 <input name="l_ustid" id="l_ustid" class="checkbox" type="checkbox" value="Y">
257 <label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
260 [%- IF type == 'sales_order' %]
261 <tr><td colspan="3"><hr></td></tr>
271 <script type="text/javascript">
273 Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger3" });
274 Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger4" });
275 Calendar.setup({ inputField : "reqdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger5" });
276 Calendar.setup({ inputField : "reqdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger6" });
281 <input type="hidden" name="nextsub" value="orders">
282 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
283 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
284 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">