]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 13 Feb 2020 16:37:34 +0000 (16:37 +0000)
commit5c5afa4ffb0eb86face5692eec7a39bbd7cc3a6d
tree1c764b2e1d288d8ab924dbbd35298fbda0cb3dcb
parent12cb3fe1f245e5316ee4c024dfcf7d57dfda2f5c
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>
C4/Acquisition.pm