]> git.koha-community.org Git - koha.git/commit
Bug 28664: (follow-up) Throw exception if debt if VOID
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 27 Jun 2024 15:55:55 +0000 (16:55 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 22 Jul 2024 10:03:18 +0000 (12:03 +0200)
commit1af964aabafe43394cff94cb2011272c80e7a777
tree9e9b1f59da66c4bb1957a92a9b3919e5b30c43d5
parentd89ed8a61d4ac8913c0ebdeeb08d541221398371
Bug 28664: (follow-up) Throw exception if debt if VOID

This patch adds an exception when an attempt is made to refund against a
VOID debit.

Test plan
1) Run the included unit test

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit b18664ec45ffbe761c50b6daca487c3222f8a5e0)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 46dc45e60c6d8a080e0d9f045a1c3f1ace464f9d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Account/Line.pm
t/db_dependent/Koha/Account/Line.t