4 [%- SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]
5 [%- SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %]
8 <form method="post" action="oe.pl">
10 <p><div class="listtop">[% HTML.escape(title) %]</div></p>
17 <th align="right">[% HTML.escape(vclabel) %]</th>
19 [%- INCLUDE 'generic/multibox.html'
21 default = vc == 'customer' ? oldcustomer : oldvendor,
22 style = 'width: 250px',
33 [%- IF ALL_DEPARTMENTS.size %]
35 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
37 [%- INCLUDE 'generic/multibox.html'
38 name = 'department_id',
39 style = 'width: 250px',
40 DATA = ALL_DEPARTMENTS,
42 label_key = 'description',
51 <th align="right">[% HTML.escape(ordlabel) %]</th>
52 <td colspan="3"><input name="[% HTML.escape(ordnrname) %]" style="width: 250px"></td>
55 <th align="right">[% 'Employee' | $T8 %]</th>
57 [%- INCLUDE 'generic/multibox.html'
59 style = 'width: 250px',
62 label_sub = 'employee_labels',
71 <th align="right">[% 'Salesman' | $T8 %]</th>
73 [%- INCLUDE 'generic/multibox.html'
75 style = 'width: 250px',
78 label_sub = 'salesman_labels',
86 <th align="right">[% 'Transaction description' | $T8 %]</th>
87 <td colspan="3"><input name="transaction_description" style="width: 250px"></td>
90 <th align="right">[% 'Project Number' | $T8 %]</th>
92 [%- INCLUDE 'generic/multibox.html'
93 name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
94 style = "width: 250px",
97 label_key = 'projectnumber',
105 <th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
107 <input name="transdatefrom" id="transdatefrom" size="11" title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
108 <input type="button" name="transdatefrom" id="trigger3" value="?">
110 <th align="right">[% 'Bis' | $T8 %]</th>
112 <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
113 <input type="button" name="transdateto" name="transdateto" id="trigger4" value="?">
117 <th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
119 <input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
120 <input type=button name=reqdatefrom id="trigger5" value=?>
122 <th align="right">[% 'Bis' | $T8 %]</th>
124 <input name=reqdateto id=reqdateto size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
125 <input type=button name=reqdateto name=reqdateto id="trigger6" value=?>
129 <th align="right">[% 'Include in Report' | $T8 %]</th>
134 <input type="checkbox" name="open" value="1" id="open" checked>
135 <label for="open">[% 'Open' | $T8 %]</label>
138 <input type="checkbox" name="closed" value="1" id="closed">
139 <label for="closed">[% 'Closed' | $T8 %]</label>
142 [%- IF type == 'sales_order' OR type == 'purchase_order' %]
145 <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
146 <label for="notdelivered">[% 'Not delivered' | $T8 %]</label>
149 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
150 <label for="delivered">[% 'Delivered' | $T8 %]</label>
156 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
157 <label for="l_id">[% 'ID' | $T8 %]</label>
160 <input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" class="checkbox" type="checkbox" value="Y" checked>
161 <label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
166 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
167 <label for="l_transdate">[% 'Date' | $T8 %]</label>
170 <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
171 <label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label>
176 <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
177 <label for="l_name">[% HTML.escape(vclabel) %]
180 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
181 <label for="l_employee">[% 'Employee' | $T8 %]</label>
184 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
185 <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
190 <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
191 <label for="l_netamount">[% 'Amount' | $T8 %]</label>
194 <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
195 <label for="l_tax">[% 'Tax' | $T8 %]</label>
198 <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
199 <label for="l_amount">[% 'Total' | $T8 %]</label>
204 <input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y">
205 <label for="l_marge_total">[% 'Ertrag' | $T8 %]</label>
208 <input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
209 <label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label>
214 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
215 <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
218 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
219 <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
224 <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
225 <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
228 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
229 <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
233 <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</td>
237 <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
238 <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
241 <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
242 <label for="l_country">[% 'Country' | $T8 %]</label>
245 <input name="l_ustid" id="l_ustid" class="checkbox" type="checkbox" value="Y">
246 <label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
249 [%- IF type == 'sales_order' %]
250 <tr><td colspan="3"><hr></td></tr>
260 <script type="text/javascript">
262 Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger3" });
263 Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger4" });
264 Calendar.setup({ inputField : "reqdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger5" });
265 Calendar.setup({ inputField : "reqdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger6" });
270 <input type="hidden" name="nextsub" value="orders">
271 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
272 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
273 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">