]> git.koha-community.org Git - koha.git/commit
Bug 17667: Do not modify quantity of the original standing order when a receipt is...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Dec 2019 17:10:15 +0000 (18:10 +0100)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Fri, 14 Feb 2020 01:35:39 +0000 (14:35 +1300)
commit372864f4e9d9756a7909e10a29be2ed77e91553f
tree417f7a80d9a016a014d8b364e4425ee87d3f0ac7
parent26a377f1b0d2311148a5c96f9311f476a6e4cfab
Bug 17667: Do not modify quantity of the original standing order when a receipt is cancelled

When cancelling a receipt, the quantity of the original order is
increased.

Test plan:
Create a basket, mark is as "standing orders"
Create an order
receive it
cancel the receipt
=> Without this patch the quantity of the original order is 2
=> With this patch applied the quantity it always 1

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 31832c35e3bfe71a58dce9359319cba9a6eaa159)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 5c5afa4ffb0eb86face5692eec7a39bbd7cc3a6d)
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
C4/Acquisition.pm