Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
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
..
csv
acqui-home.tt Bug 30938: Convert ColumnSettings to TableSettings 2022-06-17 10:29:12 -03:00
addorder.tt
addorderiso2709.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
ajax.tt
basket.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
basketgroup.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
basketheader.tt
booksellers.tt Bug 28082: Add acquisitions toolbar to vendors on vendor search page 2022-05-10 15:17:17 -10:00
cancelorder.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
duplicate_orders.tt Bug 29648: Duplicate orders view - no change 2022-04-27 11:20:43 -10:00
edi_ean.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
edifactmsgs.tt
edimsg.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
histsearch.tt Bug 29648: Order search view - normal 2022-04-27 11:20:43 -10:00
invoice-files.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
invoice.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
invoices.tt Bug 30733: Move all semicolons inside the translatable strings 2022-06-17 10:16:40 -03:00
lateorders.tt Bug 29648: Late orders view - normal 2022-04-27 11:20:43 -10:00
modordernotes.tt
neworderempty.tt Bug 31144: When modifying an order we should not load the vendor default discount 2022-07-18 14:47:26 -03:00
neworderempty_duplicate.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
newordersubscription.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
newordersuggestion.tt Bug 23991: Move SearchSuggestion to Koha::Suggestions 2022-06-27 12:30:28 -03:00
ordered.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
orderreceive.tt Bug 29602: Surround strings with span tag 2022-04-19 21:25:51 -10:00
parcel.tt Bug 30766: extra space in Cannot cancel receipt string 2022-07-08 15:22:19 -03:00
parcels.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
showorder.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
spent.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
supplier.tt Bug 28082: Add acquisitions toolbar to vendors on vendor search page 2022-05-10 15:17:17 -10:00
transferorder.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
uncertainprice.tt Bug 28082: Add acquisitions toolbar to vendors on vendor search page 2022-05-10 15:17:17 -10:00
z3950_search.tt Bug 29961: Make horizontal scroll bar always visible on acqui/z3950_search.pl 2022-06-02 14:02:30 -03:00