]> git.koha-community.org Git - koha.git/commit
Bug 24300: Add payout_amount method to Koha::Account
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 5 Feb 2021 14:28:32 +0000 (14:28 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 23 Apr 2021 09:58:49 +0000 (11:58 +0200)
commit8cfe0c3e67389f337d033d7953d014049150b1bb
tree581a02a6fad4f7602c9c4a33f904df764437cd37
parent144bc5fe3e6971489b8234b649f9570b705cb8bb
Bug 24300: Add payout_amount method to Koha::Account

This patch adds a 'payout_amount' method to the Koha::Account class to
allow payout of an amount against a list of credits (or any outstanding
credits, oldest to newest).

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Account.pm