]> 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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Fri, 18 Mar 2022 00:11:01 +0000 (01:11 +0100)
commit960f317462eb067577b6daf5b34f8b9ec2b6bb8a
treece1d058fd19a4ebae468e6ec576b0e21a3e85c8e
parent97a59bd8d32f887c6dab710f04592dcadf01e0e6
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>
(cherry picked from commit e8b1bc88508c1cf919b21cf93a0f7163e1c07289)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit bbb22c061ad67faf4c545b8080c9a5b53e33ea5d)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
C4/SIP/ILS/Transaction/FeePayment.pm