]> git.koha-community.org Git - koha.git/commit
Bug 16223: (QA follow-up) Move trigger to apply
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 11 Nov 2022 09:54:05 +0000 (09:54 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 11 Oct 2023 15:13:08 +0000 (12:13 -0300)
commitc04e297f39e6b8df73490b1bf29092eccaf00b7f
tree406c8d70d21584ce476166096ccbfb414dc44c25
parentcba9824e6d53fc77e75a041ab8e529e3717e4ba6
Bug 16223: (QA follow-up) Move trigger to apply

This patch moves the del_restrictions_after_payment from before the
actual credit application call inside Koha::Account::pay to after the
application of credits to debits in Koha::Account::Line::apply.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Account.pm
Koha/Account/Line.pm