]> git.koha-community.org Git - koha.git/commit
Bug 36068: Add maint script acq_cancel_obsolete_orders.pl
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 8 Feb 2024 15:29:30 +0000 (15:29 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 19 Apr 2024 16:06:30 +0000 (18:06 +0200)
commite50582293bb74ea8cb7ebf57344a89c368d43185
tree9c04a7aeef61a8436f8c417cd60cf91d90a92c9e
parenteae74ed6d9935ee7247ccd85f9a1d502755ca338
Bug 36068: Add maint script acq_cancel_obsolete_orders.pl

Introducing $orders->filter_by_obsolete and $orders->cancel.

Test plan:
Run t/db_dependent/Koha/Acquisition/Orders.t
Create basket with few orders. Remove some biblio records.
Run acq_cancel_obsolete_orders.pl -c

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Acquisition/Orders.pm
misc/maintenance/acq_cancel_obsolete_orders.pl [new file with mode: 0755]
t/db_dependent/Koha/Acquisition/Orders.t