X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fprice_rules.html;h=fb5c695be95a24af06ef8a1dd49b8888c669b393;hb=464f44accd46ed0b2e1f7e2459f53337a6720a7f;hp=dc87a680c76834449a48c6cc207eeaeaa52734bd;hpb=685108d71043daa0391e75861f0d27340aa44778;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/tabs/price_rules.html b/templates/webpages/customer_vendor/tabs/price_rules.html index dc87a680c..fb5c695be 100644 --- a/templates/webpages/customer_vendor/tabs/price_rules.html +++ b/templates/webpages/customer_vendor/tabs/price_rules.html @@ -9,10 +9,10 @@ $(function() { window.setTimeout(function(){ [%- IF SELF.is_customer %] - kivi.CustomerVendor.inline_report('#price_rules_customer_report', 'controller.pl', { action: 'PriceRule/list', 'filter.item_type_matches[].customer': [% SELF.cv.id %], type: 'customer', inline: 1 }); + kivi.CustomerVendor.inline_report('#price_rules_customer_report', 'controller.pl', { action: 'PriceRule/list', 'filter.item_type_matches[].customer': [% SELF.cv.id %], 'filter.type': 'customer', inline: 1 }); [%- END %] [%- IF SELF.is_vendor %] - kivi.CustomerVendor.inline_report('#price_rules_vendor_report', 'controller.pl', { action: 'PriceRule/list', 'filter.item_type_matches[].vendor': [% SELF.cv.id %], type: 'vendor', inline: 1 }); + kivi.CustomerVendor.inline_report('#price_rules_vendor_report', 'controller.pl', { action: 'PriceRule/list', 'filter.item_type_matches[].vendor': [% SELF.cv.id %], 'filter.type': 'vendor', inline: 1 }); [%- END %] }, 200); })