X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fpart%2F_assembly_row.html;h=a974212009c9d87b4f06f47edf7acbfc7940f855;hb=86e54d7f8ddabc1db7e944504b0c5d00e8a0712d;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..a97421200 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 @@
- [% 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.part.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 %] |