]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Sun, 20 Mar 2022 14:52:23 +0000 (14:52 +0000)
commit5f4ead073914fd65accb95a08265a262b1f236b9
tree31d9ac596f4a2222f8998f3a6a13719749bfeaf9
parent0d81e337696038ad194a98461f138676d6235fb4
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit a09e800b955e3929f0e7ca85a9d9ecf5e87e7674)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt