]> git.koha-community.org Git - koha.git/commit
Bug 27636: Update ->pay to use ->payin_amount internally
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 19 Mar 2021 12:00:36 +0000 (12:00 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 27 Apr 2021 14:23:49 +0000 (16:23 +0200)
commit630aa51502bf39d6fc5e32ccf5a5e7535e720b59
tree8064f0334863a436822ec518294271972ee8bbc1
parent4bb73229b8fce7527909d72b02a43e265336f0d6
Bug 27636: Update ->pay to use ->payin_amount internally

This patch is an interim patch to update Koha::Account->pay to use the
new Koha::Account->payin_amount method internally. It simply utilises
that method for the logic and acts as an input/output shim for
compatability and to allow us to use the existing tests.

Test plan
1/ Run t/db_dependent/Koha/Account.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Account.pm