Revision 0dd80ce0
Von Tamino Steinert vor 5 Tagen hinzugefügt
- ID 0dd80ce016ddfc894734cf4dbb06ad18e2a9fc64
- Vorgänger 2d3180e2
js/kivi.Order.js | ||
---|---|---|
537 | 537 |
$.post("controller.pl", data, kivi.eval_json_result); |
538 | 538 |
}; |
539 | 539 |
|
540 |
ns.add_discount_item = function() { |
|
541 |
if (!ns.check_cv()) return; |
|
542 |
|
|
543 |
$('#row_table_id thead a img').remove(); |
|
544 |
|
|
545 |
var data = $('#order_form').serializeArray(); |
|
546 |
data.push({ name: 'action', value: 'Order/add_discount_item' }); |
|
547 |
|
|
548 |
$.post("controller.pl", data, kivi.eval_json_result); |
|
549 |
}; |
|
550 |
|
|
540 | 551 |
ns.delete_order_item_row = function(clicked) { |
541 | 552 |
var row = $(clicked).parents("tbody").first(); |
542 | 553 |
$(row).remove(); |
Auch abrufbar als: Unified diff
S:C:Order: Standard Rabattartikel einfach hinzufügen