[Koha-bugs] [Bug 20978] Add Koha::Account::add_credit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 26 15:59:59 CEST 2018


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

--- Comment #18 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 76440
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76440&action=edit
Bug 20978: Add Koha::Account::add_credit

This patch adds:
- Koha::Account::add_credit
- A single source of truth for accounttype and offset_type values

To test:
- Apply the first patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Account.t
=> FAIL: Tests fail!
- Apply this patch
- Run:
 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