Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 206fab3a

Von Sven Schöling vor etwa 10 Jahren hinzugefügt

  • ID 206fab3a05770b0af344255e6adaef3c783454d8
  • Vorgänger 685108d7
  • Nachfolger fa93c93c

PriceRule: Filter bei Kunde/Lieferantenkontext gefixt

Unterschiede anzeigen:

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