X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2Fform.html;h=05e73f34c003d73ca602ecce980fb62f6f06e30c;hb=fc1e67b429bb959ab60bd50d144c0a51fbc4b292;hp=693af3e428b9c2938b71ace16606db4f42ac2c67;hpb=6b5fa71b6ef0f4613c719c5c67d0dca2df6877a8;p=kivitendo-erp.git diff --git a/templates/webpages/part/form.html b/templates/webpages/part/form.html index 693af3e42..05e73f34c 100644 --- a/templates/webpages/part/form.html +++ b/templates/webpages/part/form.html @@ -12,6 +12,7 @@ [% L.hidden_tag('part.part_type' , SELF.part.part_type) %] [% L.hidden_tag('part.id' , SELF.part.id) %] [% L.hidden_tag('last_modification', SELF.part.last_modification) %] + [% L.hidden_tag('callback' , FORM.callback) %]
@@ -66,6 +73,18 @@
[% PROCESS part/_sales_price_information.html id=SELF.part.id %]
+ [% IF AUTH.assert('shop_part_edit', 1) && SELF.part.id %] +
+ [% PROCESS 'part/_shop.html' %] +
+ [%- END %] + + [%- IF AUTH.assert('warehouse_contents', 1) AND SELF.part.id AND NOT SELF.part.is_service %] +
+ [% PROCESS 'part/_inventory.html' %] +
+ [%- END %] + [%- END %] [%- IF CUSTOM_VARIABLES.size %]