Koha-clms/Koha/Account
Martin Renvoize 9bd650f98b
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@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-01-03 16:35:38 +00:00
..
CreditType.pm Bug 23805: Update mancredit to use the new credit types 2019-10-24 17:35:21 +01:00
CreditTypes.pm Bug 23805: Update mancredit to use the new credit types 2019-10-24 17:35:21 +01:00
DebitType.pm Bug 23049: (follow-up) Correction to includes 2019-10-24 17:24:57 +01:00
DebitTypes.pm Bug 23049: Account types configuration - Admin page 2019-10-24 17:23:57 +01:00
Line.pm Bug 24080: Add 'payout' method to Koha::Account::Line 2020-01-03 16:35:38 +00:00
Lines.pm Bug 21673: (QA follow-up) Fix typo and remove unused library 2018-11-06 16:44:33 +00:00
Offset.pm Bug 2696: (QA follow-up) Fix POD, results sorting, permissions 2018-04-24 14:01:47 -03:00
Offsets.pm Bug 13098: Fix POD for Koha::Account::Offsets::total 2018-10-31 13:13:38 +00:00