]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 11 Mar 2024 14:35:52 +0000 (15:35 +0100)
commit1c556d6ed1ab6d0512ec3317ca5963205fca716b
tree21ccc5fc6aa579322c90e1e69613b4a03deabeb8
parent1bc64dcef4fe3b411c7fda3f6acd33cc72e97b3c
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>
(cherry picked from commit dcbda39c0a77a35b2bc4684a286bf26254046877)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/REST/V1/Acquisitions/Orders.pm