+ <tr><td colspan="100%">
+ [%- IF (TYPE == "sales_order" || TYPE == "purchase_order") %]
+ <b>[%- 'Serial No.' | $T8 %]</b>
+ [%- L.input_tag("order.orderitems[].serialnumber", ITEM.serialnumber, size = 15) %]
+ [%- END %]
+ <b>[%- 'Project' | $T8 %]</b>
+ [% P.project.picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %]
+ [%- IF (TYPE == "sales_order" || TYPE == "purchase_order") %]
+ <b>[%- 'Reqdate' | $T8 %]</b>
+ [% L.date_tag("order.orderitems[].reqdate_as_date", ITEM.reqdate_as_date) %]
+ [%- END %]
+ <b>[%- 'Subtotal' | $T8 %]</b>
+ [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %]
+ [%- IF (TYPE == "sales_order" || TYPE == "sales_quotation") %]
+ <b>[%- 'Ertrag' | $T8 %]</b>
+ <span name="linemargin">
+ <span[%- IF ITEM.marge_total < 0 -%] class="plus0"[%- END -%]>
+ [%- LxERP.format_amount(ITEM.marge_total, 2, 0) %]
+ [%- LxERP.format_amount(ITEM.marge_percent, 2, 0) %]%
+ </span>
+ </span>
+ <b>[%- 'LP' | $T8 %]</b>
+ [%- LxERP.format_amount(ITEM.part.listprice, 2, 0) %]
+ <b>[%- 'EK' | $T8 %]</b>
+ [%- L.input_tag("order.orderitems[].lastcost_as_number",
+ ITEM.lastcost_as_number,
+ size = 5,
+ class="recalc reformat_number numeric") %]
+ [%- END %]
+ <b>[%- 'On Hand' | $T8 %]</b>
+ <span[%- IF ITEM.part.onhand < ITEM.part.rop -%] class="numeric plus0"[%- END -%]>
+ [%- ITEM.part.onhand_as_number -%] [%- ITEM.part.unit -%]
+ </span>
+ <b>[%- 'Optional' | $T8 %]</b>
+ [%- L.yes_no_tag("order.orderitems[].optional", ITEM.optional
+ class="recalc") %]
+ </td></tr>
+