Bug 24190: (follow-up) Cancel order del item bug
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Tue, 19 May 2020 11:06:47 +0000 (12:06 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 21 Sep 2021 18:22:57 +0000 (20:22 +0200)
commit23e7f7995e4427ffa05dd4cba50e72776e426764
treefac3dbfa4257386be54f519198407399564815be
parentbf90fb810ecfda70583994b75ae53b32ac3d1b5d
Bug 24190: (follow-up) Cancel order del item bug

If an order is cancelled but the associated bib / items are unable to be
removed, we go into error handling. We still need to log the
cancellation though. So this fix moves the logging to just after the
cancellation, so it will be logged regardless of the outcome with
associated things.

Signed-off-by: Maura Stephens <maura.stephens@gmit.ie>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
acqui/cancelorder.pl