Bug 15895 - Add Koha::Account module, use Koha::Account::pay internally for recordpayment
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 19 Feb 2016 19:57:12 +0000 (19:57 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 27 Sep 2016 13:49:44 +0000 (13:49 +0000)
commit547ca4c8c12120d42b06d4a9bc549a887d3f73e1
tree8042b3c24ec52787cdf0da3eb1e2904bfd924cd2
parent56da7be50ada38bab6ec866f5915d55507c7d821
Bug 15895 - Add Koha::Account module, use Koha::Account::pay internally for recordpayment

This is the first patch in a series to unify all payment functions into
a single method.

Test Plan:
1) Apply this patch
2) prove t/db_dependent/Accounts.t
3) Test fine payment via the "Pay amount" button

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Lari Taskula <larit@student.uef.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Accounts.pm
Koha/Account.pm [new file with mode: 0644]
t/db_dependent/Accounts.t