X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/67814d7d3ae60f48c7f970474de7b102e93639a2..bcc996e65643:/templates/webpages/part/_assembly_row.html diff --git a/templates/webpages/part/_assembly_row.html b/templates/webpages/part/_assembly_row.html index e629ff875..95c097ac5 100644 --- a/templates/webpages/part/_assembly_row.html +++ b/templates/webpages/part/_assembly_row.html @@ -5,7 +5,7 @@ [%- USE P %] - [% IF SELF.orphaned || AUTH.assert('assembly_edit', 1) %] + [% IF orphaned || AUTH.assert('assembly_edit', 1) %] [% L.hidden_tag("assembly_items[+].parts_id", ITEM.part.id) %] [% END %] @@ -22,16 +22,16 @@ [%- LxERP.t8('reorder item') %] - [% P.part(ITEM.part) %] + [% ITEM.part.presenter.part %] - [% P.type_abbreviation(ITEM.part.part_type) %][% P.classification_abbreviation(ITEM.part.classification_id) %] + [% P.part.type_abbreviation(ITEM.part.part_type) %][% P.classification_abbreviation(ITEM.part.classification_id) %] [% HTML.escape(ITEM.part.description) %] - [% IF SELF.orphaned || AUTH.assert('assembly_edit', 1) %] + [% IF orphaned || AUTH.assert('assembly_edit', 1) %] [%- L.input_tag("assembly_items[].qty_as_number", ITEM.qty_as_number, size = 10, @@ -43,7 +43,7 @@ [% ITEM.part.unit | html %] - [% IF SELF.orphaned || AUTH.assert('assembly_edit', 1) %] + [% 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 %]