X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2F_shop.html;fp=templates%2Fwebpages%2Fpart%2F_shop.html;h=3c65b4dacad66769ee3da49e2cd01c09aea4e3d1;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hp=051a2306cf01cd807ecef4c7f23543a7cfd6630b;hpb=d4925a8b60f04674885e30d9316dc0263f8b9a84;p=kivitendo-erp.git diff --git a/templates/webpages/part/_shop.html b/templates/webpages/part/_shop.html index 051a2306c..3c65b4dac 100644 --- a/templates/webpages/part/_shop.html +++ b/templates/webpages/part/_shop.html @@ -18,13 +18,20 @@ [% LxERP.t8("Action") %] - [% # L.dump(SELF.part) %] + [%# L.dump(SELF.part) %] [%- FOREACH shop_part = SELF.part.shop_parts %] [% IF !shop_part.shop.obsolete %] + [% HTML.escape( shop_part.shop.description ) %] [% L.html_tag('span', shop_part.active, id => 'shop_part_active_' _ shop_part.id ) %] - [% L.html_tag('span', shop_part.shop_description, id => 'shop_part_description_' _ shop_part.id ) %] + + [% IF shop_part.shop.use_part_longdescription %] + [% L.html_tag('span', shop_part.part.notes, id => 'shop_part_description_' _ shop_part.id ) %] + [% ELSE %] + [% L.html_tag('span', shop_part.shop_description, id => 'shop_part_description_' _ shop_part.id ) %] + [% END %] + [% L.html_tag('span',LxERP.t8(), id => 'active_price_source_' _ shop_part.id) %] [% L.html_tag('span','Price', id => 'price_' _ shop_part.id) %] [% L.html_tag('span','Stock', id => 'stock_' _ shop_part.id) %]