]> git.koha-community.org Git - koha.git/commit
Bug 36173: Display basket info when cancelling an order
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 27 Feb 2024 13:00:06 +0000 (14:00 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 5 Apr 2024 09:51:18 +0000 (11:51 +0200)
commitd704495138f93943158e2eff87fd10988fa6ff1f
tree96274851dc95a4fbaf77dc3a6c6c71b5cf07d8e6
parent5c71283c897de456db0824018fcb2b0f7931040d
Bug 36173: Display basket info when cancelling an order

The basketno is missing from the 2 links in acqui/parcel.tt

Better to retrieve the basketno from the order in the controller.

Test plan:
Create an order, receive it
On the parcel view notice that the "Cancel order" link leads to a
confirmation page that does not contain the info of the basket.
It's fixed with this patch applied.

Note: Don't fully receive, but 'Receive shipment' from vendor, choose an invoice, and cancel the order from the list to be received

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
acqui/cancelorder.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt