Bug 35514: Fix total cost update when adding multiple items to order
authorThibaud Guillot <thibaud.guillot@biblibre.com>
Thu, 7 Dec 2023 16:06:55 +0000 (17:06 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 1 Feb 2024 14:52:55 +0000 (15:52 +0100)
commit517e50fdf1481b8ad2128c8a494b1053271eab6c
tree88422bc4eb5ee9d77e6dbc18395ad2c6b8fed207
parent1982d207b48dfba061d7fe81b263a97ce7de9970
Bug 35514: Fix total cost update when adding multiple items to order

Test plan:

1) Create a basket and add an order line to go on neworderempty.pl
   (the new order form)
2) Choose to add one item and repeat the operation
3) See on form that the total cost is updated without update vendor
   price
4) Now add multiple items, for example, "2" you will see that the total
   cost is not updated
5) Apply this patch, refresh form and repeat steps 3 to 5

Signed-off-by: MichaƂ Dudzik <dudzikmichal@wp.pl>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 45c4b936f5109acb9860562de7fde7ee1182c117)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/additem.js