X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fshop_part%2Fcategories.html;fp=templates%2Fwebpages%2Fshop_part%2Fcategories.html;h=55e662887ea101c85296e8c27e70e8577feac395;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=0000000000000000000000000000000000000000;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;p=kivitendo-erp.git diff --git a/templates/webpages/shop_part/categories.html b/templates/webpages/shop_part/categories.html new file mode 100644 index 000000000..55e662887 --- /dev/null +++ b/templates/webpages/shop_part/categories.html @@ -0,0 +1,35 @@ +[%- USE HTML %] +[%- USE T8 %] +[%- 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 %] + [% FOREACH categorie = categories_array %] + + [% END %] + [% END %] +

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

+ [% # 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")) %] +