]> git.koha-community.org Git - koha.git/commit
Bug 18360: Allow to delete a cancelled order from open basket
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 20 Feb 2024 12:52:43 +0000 (12:52 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 30 Apr 2024 15:09:46 +0000 (17:09 +0200)
commit2891b0d5e62d3638cb1cafde2a1af90a21bcf23e
tree50edfefac89d9654aaa77b7d54510c8929b75976
parent87b921726ac54a8de6a6176361b282bd469bee51
Bug 18360: Allow to delete a cancelled order from open basket

Doing this under flag of order_manage and not on the higher level
of baskets.

Starting here with a single order delete for cancelled lines. So
deleting an open order line requires cancelling it first. Can be
extended later if needed.

Test plan:
Pick an open basket with cancelled lines.
Try to delete a few lines.
Test that you cannot do this on an closed basket. (Bonus: manipulate
URL with basketno, ordernumber and op=cud-delete-order.)

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
acqui/basket.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt