[Koha-bugs] [Bug 24080] Add a 'payout' process to accounts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 2 15:20:12 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24080

--- Comment #38 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 96749
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96749&action=edit
Bug 24080: Add 'payout' method to Koha::Account::Line

This enhancement adds a 'payout' method to Koha::Account::Line which can
be used to 'pay out' a credit to a patron.

When such a credit is 'paid out' this method will create a corresponding
account debit line with an amount equal to the amountoutstanding on the
original credit and the two acocuntlines will be immediately applied against
each other.

Test Plan:
1) Run the included tests and verify they pass.
2) Signoff

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Koha-bugs mailing list