]> git.koha-community.org Git - koha.git/commit
Bug 28663: Prevent discounts against void lines
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 5 Jul 2021 18:37:57 +0000 (19:37 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 2 Mar 2022 08:47:46 +0000 (22:47 -1000)
commite63783a817ee7808a58edd7fff817050cdfb9da8
tree8bc9ecd81bcf146b0ab568dcf3d66ed6a8f2880c
parent3de4031de1b002207963018f2f2142622a571cc9
Bug 28663: Prevent discounts against void lines

With the introduction of double entry accounting for VOID actions, we
need to add an additional filter to the 'Apply discount' button appearance

Test plan
1/ Add a debt
2/ Pay the debt
3/ Void the payment
4/ Confirm that with the patch applied the 'Apply discount' button does
not appear on the 'Void' accountline.

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt