Revision bc8c26f3
Von Sven Schöling vor fast 10 Jahren hinzugefügt
js/kivi.PriceRule.js | ||
---|---|---|
8 | 8 |
$.post('controller.pl', data, kivi.eval_json_result); |
9 | 9 |
} |
10 | 10 |
|
11 |
ns.open_price_type_help_popup = function() { |
|
12 |
kivi.popup_dialog({ |
|
13 |
url: 'controller.pl?action=PriceRule/price_type_help', |
|
14 |
dialog: { title: kivi.t8('Price Types') }, |
|
15 |
}); |
|
16 |
} |
|
17 |
|
|
11 | 18 |
$(function() { |
12 | 19 |
$('#price_rule_item_add').click(function() { |
13 | 20 |
ns.add_new_row($('#price_rules_empty_item_select').val()); |
... | ... | |
15 | 22 |
$('#price_rule_items').on('click', 'a.price_rule_remove_line', function(){ |
16 | 23 |
$(this).closest('div').remove(); |
17 | 24 |
}) |
25 |
$('#price_rule_price_type_help').click(ns.open_price_type_help_popup); |
|
18 | 26 |
}); |
19 | 27 |
}); |
Auch abrufbar als: Unified diff
PriceRule: Preisregeln können jetzt auch Rabatte
ausserdem Doku