From 206fab3a05770b0af344255e6adaef3c783454d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 7 Oct 2014 17:09:35 +0200 Subject: [PATCH] PriceRule: Filter bei Kunde/Lieferantenkontext gefixt --- templates/webpages/customer_vendor/tabs/price_rules.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }) -- 2.20.1