[% IF orphaned || AUTH.assert('assembly_edit', 1) %]
[% L.hidden_tag("assembly_items[+].parts_id", ITEM.part.id) %]
[% END %]
|
[%- L.button_tag("kivi.Part.delete_item_row(this)",
LxERP.t8("X")) %] [% # , confirm=LxERP.t8("Are you sure?")) %]
|
[% HTML.escape(position) or HTML.escape(ITEM.position) %]
|
|
[% ITEM.part.presenter.part %]
|
[% P.part.type_abbreviation(ITEM.part.part_type) %][% P.classification_abbreviation(ITEM.part.classification_id) %]
|
[% HTML.escape(ITEM.part.description) %]
|
[% IF orphaned || AUTH.assert('assembly_edit', 1) %]
[%- L.input_tag("assembly_items[].qty_as_number",
ITEM.qty_as_number,
size = 10,
class="recalc reformat_number numeric") %]
[% ELSE %]
[% ITEM.qty_as_number | html %]
[% END %]
|
[% ITEM.part.unit | html %]
|
[% IF orphaned || AUTH.assert('assembly_edit', 1) %]
[% L.checkbox_tag("assembly_items[].bom", checked=ITEM.bom, for_submit=1) %] |
[% ELSE %]
[% IF ITEM.bom %][% 'Yes' | $T8 %][% ELSE %][% 'No' | $T8 %][% END %] |
[% END %]
[%- L.div_tag(LxERP.format_amount(ITEM.linetotal_sellprice, 3, 0), name="linetotal") %]
|
[% ITEM.part.sellprice_as_number %]
|
[% ITEM.part.lastcost_as_number %]
|
[% HTML.escape(ITEM.part.partsgroup.partsgroup) %]
|