From: Sven Schöling Date: Tue, 7 Oct 2014 15:09:35 +0000 (+0200) Subject: PriceRule: Filter bei Kunde/Lieferantenkontext gefixt X-Git-Tag: release-3.2.0beta~126 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=206fab3a05770b0af344255e6adaef3c783454d8;p=kivitendo-erp.git PriceRule: Filter bei Kunde/Lieferantenkontext gefixt --- 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); })