Zusätzliche Rechnungsadressen: in Kundenstammdaten bearbeiten
[kivitendo-erp.git] / templates / webpages / customer_vendor / tabs / price_rules.html
index dc87a68..fb5c695 100644 (file)
@@ -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);
     })