[Koha-bugs] [Bug 20990] Add Koha::Account::outstanding_credits

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 6 17:14:24 CEST 2018


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #76447|0                           |1
        is obsolete|                            |

--- Comment #13 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 76740
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76740&action=edit
Bug 20990: Add Koha::Account->outstanding_credits

This patch adds a method that retrieves (for a patron's account) the
outstanding credits (i.e. those that haven't been applied to any debit.

To test:
- Apply this patches
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Account.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list