]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 19 Jul 2024 15:53:36 +0000 (15:53 +0000)
commit46dc45e60c6d8a080e0d9f045a1c3f1ace464f9d
tree6c8819d86275efe61443e992955558b873169a5e
parent7f2467cd508346935d7e922166c67a32137fc9a8
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>
Koha/Account/Line.pm
t/db_dependent/Koha/Account/Line.t