[% IF orphaned %]
[% 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) %]
|
|
[% P.part(ITEM.part) %]
|
[% P.type_abbreviation(ITEM.part.part_type) %][% P.classification_abbreviation(ITEM.part.classification_id) %]
|
[% HTML.escape(ITEM.part.description) %]
|
[% IF orphaned %]
[%- 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 %]
|
[% IF orphaned %]
[%- L.select_tag("assembly_items[].unit",
ITEM.part.available_units,
default = ITEM.part.unit,
title_key = 'name',
value_key = 'name',
class = 'unitselect') %]
[% ELSE %]
[% ITEM.part.unit | html %]
[% END %]
|
[% IF orphaned %]
[% 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) %]
|