5 [%- SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]
6 [%- SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %]
7 [%- SET vctypelabel = vc == 'customer' ? LxERP.t8('Customer type') : LxERP.t8('Vendor type') %]
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',
31 class = 'initial_focus',
35 [%- IF ALL_DEPARTMENTS.size %]
37 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
39 [%- INCLUDE 'generic/multibox.html'
40 name = 'department_id',
41 style = 'width: 250px',
42 DATA = ALL_DEPARTMENTS,
44 label_key = 'description',
53 <th align="right">[% HTML.escape(ordlabel) %]</th>
54 <td colspan="3"><input name="[% HTML.escape(ordnrname) %]" style="width: 250px"></td>
58 <th align="right">[% LxERP.t8("Customer Order Number") %]</th>
59 <td colspan="3">[% L.input_tag("cusordnumber", '', style="width: 250px") %]</td>
63 <th align="right">[% 'Employee' | $T8 %]</th>
64 <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]</td>
67 <th align="right">[% 'Salesman' | $T8 %]</th>
68 <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]</td>
71 <th align="right">[% 'Steuersatz' | $T8 %]</th>
72 <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style='width: 250px') %]</td>
75 <th align="right">[% 'Shipping Point' | $T8 %]</th>
76 <td colspan="3">[% L.input_tag('shippingpoint', '', style='width:250px') %]</td>
79 <th align="right">[% 'Transaction description' | $T8 %]</th>
80 <td colspan="3"><input name="transaction_description" style="width: 250px"></td>
83 <th align="right">[% 'Project Number' | $T8 %]</th>
85 [%- INCLUDE 'generic/multibox.html'
86 name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
87 style = "width: 250px",
90 label_key = 'projectnumber',
97 [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %]
99 <th align="right" nowrap>[% vctypelabel %]</th>
101 [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style='width:250px') %]
106 <th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
108 [% L.date_tag('transdatefrom') %]
110 <th align="right">[% 'Bis' | $T8 %]</th>
112 [% L.date_tag('transdateto') %]
116 <th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
118 [% L.date_tag('reqdatefrom') %]
120 <th align="right">[% 'Bis' | $T8 %]</th>
122 [% L.date_tag('reqdateto') %]
126 <th align="right">[% 'Include in Report' | $T8 %]</th>
131 <input type="checkbox" name="open" value="1" id="open" checked>
132 <label for="open">[% 'Open' | $T8 %]</label>
135 <input type="checkbox" name="closed" value="1" id="closed">
136 <label for="closed">[% 'Closed' | $T8 %]</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">[% 'Not delivered' | $T8 %]</label>
146 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
147 <label for="delivered">[% 'Delivery Order created' | $T8 %]</label>
151 [%- IF type == 'sales_order' %]
154 [% L.checkbox_tag("periodic_invoices_active", label => LxERP.t8("Periodic invoices active")) %]
157 [% L.checkbox_tag("periodic_invoices_inactive", label => LxERP.t8("Periodic invoices inactive")) %]
163 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
164 <label for="l_id">[% 'ID' | $T8 %]</label>
167 <input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" class="checkbox" type="checkbox" value="Y" checked>
168 <label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
172 <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y" checked>
173 <label for="l_cusordnumber">[% LxERP.t8("Customer Order Number") %]</label>
179 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
180 <label for="l_transdate">[% 'Date' | $T8 %]</label>
183 <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
184 <label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label>
189 <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
190 <label for="l_name">[% HTML.escape(vclabel) %]
193 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
194 <label for="l_employee">[% 'Employee' | $T8 %]</label>
197 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
198 <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
203 <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
204 <label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
206 <td>[%- L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %]</td>
207 <td>[%- L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %]</td>
211 <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
212 <label for="l_netamount">[% 'Amount' | $T8 %]</label>
215 <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
216 <label for="l_tax">[% 'Tax' | $T8 %]</label>
219 <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
220 <label for="l_amount">[% 'Total' | $T8 %]</label>
225 <input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y">
226 <label for="l_marge_total">[% 'Ertrag' | $T8 %]</label>
229 <input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
230 <label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label>
235 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
236 <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
239 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
240 <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
245 <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
246 <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
249 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
250 <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
254 <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</td>
258 <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
259 <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
262 <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
263 <label for="l_country">[% 'Country' | $T8 %]</label>
266 <input name="l_ustid" id="l_ustid" class="checkbox" type="checkbox" value="Y">
267 <label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
270 [%- IF type == 'sales_order' %]
271 <tr><td colspan="3"><hr></td></tr>
282 <input type="hidden" name="nextsub" value="orders">
283 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
284 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
285 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">