8 <tr><td colspan="100%">
9 [%- IF (TYPE == "sales_order" || TYPE == "purchase_order") %]
10 <b>[%- 'Serial No.' | $T8 %]</b>
11 [%- L.input_tag("order.orderitems[].serialnumber", ITEM.serialnumber, size = 15) %]
13 <b>[%- 'Project' | $T8 %]</b>
14 [% P.project.picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %]
15 [%- IF (TYPE == "sales_order" || TYPE == "purchase_order") %]
16 <b>[%- 'Reqdate' | $T8 %]</b>
17 [% L.date_tag("order.orderitems[].reqdate_as_date", ITEM.reqdate_as_date) %]
19 <b>[%- 'Subtotal' | $T8 %]</b>
20 [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %]
21 [%- IF (TYPE == "sales_order" || TYPE == "sales_quotation") %]
22 <b>[%- 'Ertrag' | $T8 %]</b>
23 <span name="linemargin">
24 <span[%- IF ITEM.marge_total < 0 -%] class="plus0"[%- END -%]>
25 [%- LxERP.format_amount(ITEM.marge_total, 2, 0) %]
26 [%- LxERP.format_amount(ITEM.marge_percent, 2, 0) %]%
29 <b>[%- 'LP' | $T8 %]</b>
30 [%- LxERP.format_amount(ITEM.part.listprice, 2, 0) %]
31 <b>[%- 'EK' | $T8 %]</b>
32 [%- L.input_tag("order.orderitems[].lastcost_as_number",
33 ITEM.lastcost_as_number,
35 class="recalc reformat_number numeric") %]
37 <b>[%- 'On Hand' | $T8 %]</b>
38 <span[%- IF ITEM.part.onhand < ITEM.part.rop -%] class="plus0"[%- END -%]>
39 [%- LxERP.format_amount(ITEM.part.onhand_as_number, 2, 0) -%] [%- ITEM.part.unit -%]
45 [%- FOREACH var = ITEM.cvars_by_config %]
46 [%- NEXT UNLESS (var.config.processed_flags.editable && ITEM.part.cvar_by_name(var.config.name).is_valid) %]
49 [% var.config.description %]
52 [% L.hidden_tag('order.orderitems[].custom_variables[+].config_id', var.config.id) %]
53 [% L.hidden_tag('order.orderitems[].custom_variables[].id', var.id) %]
54 [% L.hidden_tag('order.orderitems[].custom_variables[].sub_module', var.sub_module) %]
55 [% INCLUDE 'common/render_cvar_input.html' var_name='order.orderitems[].custom_variables[].unparsed_value' %]
57 [%- IF (n % (MYCONFIG.form_cvars_nr_cols || 3)) == 0 %]