[Koha-bugs] [Bug 27946] Add a charge per article request to patron categories
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 7 15:18:31 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27946
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #129145|0 |1
is obsolete| |
--- Comment #79 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 129175
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129175&action=edit
Bug 27946: Make Koha::ArticleRequest->request add a fee if required
This patch makes the ->request method add a fee for the patron if
required. It relies on methods defined in Koha::Patron for the task. The
debit line is linked to the AR if applies.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/ArticleRequest.t
=> SUCCESS: Tests pass!
3. Sign off :-D
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list