X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fshop_part%2Fcategories.html;h=55e662887ea101c85296e8c27e70e8577feac395;hb=HEAD;hp=43b73886f44d16b2171b5d4fe8211f60e5219c15;hpb=966ba2b155a1646d67ac8a8d1f3ec0527a268fb2;p=kivitendo-erp.git diff --git a/templates/webpages/shop_part/categories.html b/templates/webpages/shop_part/categories.html index 43b73886f..55e662887 100644 --- a/templates/webpages/shop_part/categories.html +++ b/templates/webpages/shop_part/categories.html @@ -3,46 +3,33 @@ [%- USE L -%] [%- USE P -%] [%- USE LxERP -%] +[%- USE Dumper -%] [% LxERP.t8("Part") %]: [% HTML.escape(SELF.shop_part.part.displayable_name) %]
[% LxERP.t8("Shop") %]: [% HTML.escape(SELF.shop_part.shop.description) %]
[% BLOCK recurse %] - [% # path = '' %] - [% FOREACH obj = data %] - [% END %] [% END %]

[% LxERP.t8("Shopcategories") %]

- [% FOREACH row = CATEGORIES %] - - [% IF row.name == 'Root' %] - [% IF row.childrenCount >= 1 %] - [% path = '' %] - [% INCLUDE recurse data=row.children path=path %] - [% END %] - [% END %] - [% END %] + [% # Dumper.dump_html( CATEGORIES ) %] + [% INCLUDE recurse categories_array=CATEGORIES %]
[% L.button_tag("kivi.ShopPart.save_categories(" _ SELF.shop_part.id _", " _ SELF.shop_part.shop.id _")", LxERP.t8("Save")) %]