Bug 19024 Do not unset order cancelled status on basket close
authorColin Campbell <colin.campbell@ptfs-europe.com>
Wed, 2 Aug 2017 16:12:44 +0000 (17:12 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Sep 2017 16:02:24 +0000 (13:02 -0300)
commit2e9165001f69312255ad1b6706f040784460d5d1
treea597c3adbf9577548404645ce779607bd4a60431
parent16c25a36988b47fb9fcbabd91fdace5f98f9caed
Bug 19024 Do not unset order cancelled status on basket close

On closing a basket, status is updated to ordered for orders not
completed. However the operation  was resetting the status for
cancelled as well as new orders.
While display is correct from the basket view (it checks the
cancellation date). The status in the acquisitions tab from the
catalogue view reverts erroneously to ordered.

This patch adds cancelled to the statuses not updated on basket
close.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Acquisition.pm