]> 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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 28 Jun 2024 11:49:19 +0000 (13:49 +0200)
commitb18664ec45ffbe761c50b6daca487c3222f8a5e0
treed1a8e476657a7afdd50307ede63d78b3226e9d26
parenta47474e3d771dff8cb3daa3c4641718796d11381
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>
Koha/Account/Line.pm
t/db_dependent/Koha/Account/Line.t