]> git.koha-community.org Git - koha.git/commit
Bug 33863: Update values in data that will be saved
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 11 Jul 2023 08:21:09 +0000 (10:21 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Jul 2023 11:59:35 +0000 (08:59 -0300)
commite3a7202363d0033a9c29b1143fc47c8c631f269f
treec717116cfd34c26afbda7fc1cb611b1ae70ac778
parent768702be7af6afe8df4558c56ef3bd3d09562603
Bug 33863: Update values in data that will be saved

We are not saving the values of the input but a representation of the
form, contains in $("#order_edit").data('row');

To acchieve that it's preferable to reuse _update_unitprice and call it
when #change_currency is modified.

Some code cleaning slipped into the patch, for readability purpose.

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt