Bug 26577: Make basket.pl and cancelorder.pl use ->cancel
commit870ef9e2d9046914e198d7c03fa64b4b89de3b41
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Sep 2020 14:14:37 +0000 (30 11:14 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Oct 2020 12:50:07 +0000 (15 14:50 +0200)
treed4c571c9be6d765fd7b082aa9dbec4bd16cc8ed5
parent14820607c43b6e760ba2edadfb14436f2685a1fe
Bug 26577: Make basket.pl and cancelorder.pl use ->cancel

This patch makes the mentioned controller scripts use the new
$order->cancel method instead of DelOrder.

To test:
1. Apply this patches
2. Have a basket with some orders
3. Play with cancelling orders and removing baskets
=> SUCCESS: No behaviour change!
=> SUCCESS: No errors!
4. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
acqui/basket.pl
acqui/cancelorder.pl