Bug 36066: Only allow cancelled order deletion in API
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 12 Feb 2024 09:54:04 +0000 (09:54 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 8 Mar 2024 17:58:29 +0000 (18:58 +0100)
commitdcbda39c0a77a35b2bc4684a286bf26254046877
treec3839abd3cf27319c9fb3cb5a1528964c80f99d9
parent8bb61c4f8835a7b36d32c580e12fe40381a5f22b
Bug 36066: Only allow cancelled order deletion in API

Note: I had trouble with listing orders in API without
status, although formally not required according specs.

Test plan:
Run t/db_dependent/api/v1/acquisitions_orders.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/REST/V1/Acquisitions/Orders.pm