]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 21 Feb 2022 16:59:36 +0000 (16:59 +0000)
commitbbb22c061ad67faf4c545b8080c9a5b53e33ea5d
treeccb65f6e27bd4e1ffa0fdce658f7949a0c22611f
parent190c925997f75c013627317045dbd9030ca9075a
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>
C4/SIP/ILS/Transaction/FeePayment.pm