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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 29 Jan 2024 11:25:03 +0000 (12:25 +0100)
commit45c4b936f5109acb9860562de7fde7ee1182c117
tree6e7933ca12f35b0a6fe35a1011bdc1f6f2e3c4c2
parent28510d473fa5d481c4619d7b568718eb1cc737eb
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>
koha-tmpl/intranet-tmpl/prog/js/additem.js