6 <tr class="listrow[% listrow %] assembly_item_row">
7 <td style='display:none'>
8 [% IF orphaned || AUTH.assert('assembly_edit', 1) %]
9 [% L.hidden_tag("assembly_items[+].parts_id", ITEM.part.id) %]
12 <td align="center" [% UNLESS orphaned || AUTH.assert('assembly_edit', 1) %]style='display:none'[% END %]>
13 [%- L.button_tag("kivi.Part.delete_item_row(this)",
14 LxERP.t8("X")) %] [% # , confirm=LxERP.t8("Are you sure?")) %]
17 <div name="position" class="numeric">
18 [% HTML.escape(position) or HTML.escape(ITEM.position) %]
21 <td align="center" [% UNLESS orphaned || AUTH.assert('assembly_edit', 1) %]style='display:none'[% END %]>
22 <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]" class="dragdrop">
25 [% ITEM.part.presenter.part %]
28 [% P.part.type_abbreviation(ITEM.part.part_type) %][% P.part.classification_abbreviation(ITEM.part.classification_id) %]
31 [% HTML.escape(ITEM.part.description) %]
34 [% IF orphaned || AUTH.assert('assembly_edit', 1) %]
35 [%- L.input_tag("assembly_items[].qty_as_number",
38 class="recalc reformat_number numeric") %]
40 [% ITEM.qty_as_number | html %]
44 [% ITEM.part.unit | html %]
46 [% IF orphaned || AUTH.assert('assembly_edit', 1) %]
47 <td>[% L.checkbox_tag("assembly_items[].bom", checked=ITEM.bom, for_submit=1) %]</td>
49 <td>[% IF ITEM.bom %][% 'Yes' | $T8 %][% ELSE %][% 'No' | $T8 %][% END %]</td>
52 [%- L.div_tag(LxERP.format_amount(ITEM.linetotal_sellprice, 3, 0), name="linetotal") %]
55 [% ITEM.part.sellprice_as_number %]
58 [% ITEM.part.lastcost_as_number %]
61 [% HTML.escape(ITEM.part.partsgroup.partsgroup) %]