Revision 5bc87ade
Von Moritz Bunkus vor fast 9 Jahren hinzugefügt
js/kivi.SalesPurchase.js | ||
---|---|---|
86 | 86 |
this.init_on_submit_checks = function() { |
87 | 87 |
$('input[type=submit]').click(kivi.SalesPurchase.on_submit_checks); |
88 | 88 |
}; |
89 |
|
|
90 |
this.set_duedate_on_reference_date_change = function(reference_field_id) { |
|
91 |
setTimeout(function() { |
|
92 |
var data = { |
|
93 |
action: 'set_duedate', |
|
94 |
invdate: $('#' + reference_field_id).val(), |
|
95 |
duedate: $('#duedate').val(), |
|
96 |
payment_id: $('#payment_id').val(), |
|
97 |
}; |
|
98 |
$.post('is.pl', data, kivi.eval_json_result); |
|
99 |
}); |
|
100 |
}; |
|
89 | 101 |
}); |
Auch abrufbar als: Unified diff
Zahlungsbedingungen: Flag »Fälligkeitsdatum automatisch berechnen«