Koha/koha-tmpl/intranet-tmpl/prog
Nick Clemens 73d2066837
Bug 31144: When modifying an order we should not load the vendor default discount
After placing an order in a basket with a discount of "0" if you attempt to modify we will load the vendor default discount, this can lead to accidentally applying a discount when modifying other order parts

To test:
0 - Have a vendor with a discount set
1 - Add an order to a basket
2 - While adding, set discount to 0
3 - Add order - prices are calculated ocrrectly
4 - Modify order
5 - Note discount is populated with vendor discount
6 - Cancel
7 - Apply patch
8 - Modify order
9 - Discount remains at 0
10 - Repeat with a vendor with no discount set
11 - Placing order not specifiying discount it remains blank
12 - Modifying order discount remains blank
13 - Modify order and set discount
14 - Confirm it is retained on modifcation

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-18 14:47:26 -03:00
..
css Bug 31071: Compiled CSS 2022-07-18 14:39:25 -03:00
en Bug 31144: When modifying an order we should not load the vendor default discount 2022-07-18 14:47:26 -03:00
img Bug 28993: Switch magnifying glass in staff detail pages to FA icon 2022-02-09 22:01:37 -10:00
js Bug 30578: Fix multi-terms search 2022-07-18 11:01:45 -03:00
pdf
sound