]> git.koha-community.org Git - koha.git/commit
Bug 11549: make it possible to receive and cancel the receipt of a transferred order
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 14 Jan 2014 11:06:34 +0000 (12:06 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 23 Apr 2014 16:31:14 +0000 (18:31 +0200)
commitfacb734e4a257bb96251f592c16cd4ac71c2dd39
treeaeb9798ce4b617ac9cf6d5e8d2ca272e1801f108
parentaaf04836501a7be551b7edaf35acfea4b6a5ab5d
Bug 11549: make it possible to receive and cancel the receipt of a transferred order

To reproduce the issue:
- transfer an order from a basket to another. Note the previous
ordernumber (X) and the new one (Y).
- receive the order
- cancel the receipt
- verify the order has been deleted:
select count(*) from aqorders where ordernumber=Y;
select * from aqorders_transfers where ordernumber_from = X;
The value for ordernumber_to is null.

To test this patch:
- apply this patch
- transfer an order from a basket to another
- receive the order
- cancel the receipt
- verify the order still exist in the basket where the transfer has been
  done.

Signed-off-by: Sonia BOUIS <sonia.bouis@univ-lyon3.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 6d63881e0447bae83d21b6f082ee1549277c6071)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Acquisition.pm