]> git.koha-community.org Git - koha.git/commit
Bug 29385: Catch register_id for payments against fees
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 2 Dec 2021 12:52:45 +0000 (13:52 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 18 Feb 2022 12:35:23 +0000 (07:35 -0500)
commite8b1bc88508c1cf919b21cf93a0f7163e1c07289
tree19e24c95f80dd1defad984b2bb8c8c64361e4991
parentcc49fd7e00a789d15aac7294dfc8066a2c5c3752
Bug 29385: Catch register_id for payments against fees

This patch refactors the pay method in SIP FeePayment such that we
consistently pass parameters to both invocations of Koha::Account->pay.

It ensure the missing cash_register definition is passed when a set of
account lines to pay is defined.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/SIP/ILS/Transaction/FeePayment.pm