]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 16 Feb 2022 21:51:10 +0000 (11:51 -1000)
commit20bcd599d30e8c8ac94ceefa608cf502ae5e7c4d
treecc49750143497b6c0135e13a59b7093df0d2bcb3
parentdc077ccef591fbc7a509130b4f0e680f7cca0a89
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>
C4/SIP/ILS/Transaction/FeePayment.pm