X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b98935252284591d5a1d95dda05974b14f4b2b4d..d59c544786c8f76756e2ec10dc3b8f803355efdc:/templates/webpages/order/tabs/basic_data.html diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index 0d7362f6e..2c9598d52 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -216,6 +216,12 @@ function recalc_amounts_and_taxes() { $.post("controller.pl", data, kivi.eval_json_result); } +function redisplay_linetotals(data) { + $('.row_entry [name="linetotal"]').each(function(idx, elt) { + $(elt).html(data[idx]); + }); +} + function row_table_scroll_down() { $('#row_table_scroll_id').scrollTop($('#row_table_scroll_id')[0].scrollHeight); } @@ -264,6 +270,7 @@ $(function(){ } }); row_set_keyboard_events($('.row_entry')); + $('.recalc').change(recalc_amounts_and_taxes); });