Revision 206fab3a
Von Sven Schöling vor etwa 10 Jahren hinzugefügt
templates/webpages/customer_vendor/tabs/price_rules.html | ||
---|---|---|
9 | 9 |
$(function() { |
10 | 10 |
window.setTimeout(function(){ |
11 | 11 |
[%- IF SELF.is_customer %] |
12 |
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 });
|
|
12 |
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 });
|
|
13 | 13 |
[%- END %] |
14 | 14 |
[%- IF SELF.is_vendor %] |
15 |
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 });
|
|
15 |
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 });
|
|
16 | 16 |
[%- END %] |
17 | 17 |
}, 200); |
18 | 18 |
}) |
Auch abrufbar als: Unified diff
PriceRule: Filter bei Kunde/Lieferantenkontext gefixt