X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2F_assembly_row.html;h=95c097ac5c3606f44cadacaafdf4cb818d60810d;hb=fb19e57e03d1d60c48c921def198b009583e4a74;hp=e629ff875caae6c700b270eedf6f2fc237649360;hpb=67814d7d3ae60f48c7f970474de7b102e93639a2;p=kivitendo-erp.git 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 %]