Revision 99f8e356
Von Werner Hahn vor etwa 20 Stunden hinzugefügt
js/kivi.DeliveryOrder.js | ||
---|---|---|
79 | 79 |
$.post("controller.pl", data, kivi.eval_json_result); |
80 | 80 |
}; |
81 | 81 |
|
82 |
ns.close_order = function() { |
|
83 |
let data = []; |
|
84 |
let id = $("#id").val(); |
|
85 |
|
|
86 |
if (!id) { |
|
87 |
alert(kivi.t8('This object has not been saved yet.')); |
|
88 |
return; |
|
89 |
} |
|
90 |
|
|
91 |
data.push({ name: 'id', value: id }); |
|
92 |
data.push({ name: 'action', value: 'DeliveryOrder/close_order' }); |
|
93 |
$.post("controller.pl", data, kivi.eval_json_result); |
|
94 |
} |
|
95 |
|
|
82 | 96 |
ns.show_print_options = function(params) { |
83 | 97 |
if (!ns.check_cv()) return; |
84 | 98 |
|
Auch abrufbar als: Unified diff
S:C:DeliveryOrder: Methode zum Schließen "Als geschlossen markieren"