Bug 27946: Article request fee methods in Koha::Patron
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 17 Dec 2021 13:18:53 +0000 (10:18 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 28 Jan 2022 21:09:07 +0000 (11:09 -1000)
commitd5c8aad712e72612f3212cf322b90cdf1fa00ca7
tree565026b556f540df7fcb3baa6b0cfa3f2323a8cc
parent62c340f06a4b9804751009e5cfa83bc850836cc7
Bug 27946: Article request fee methods in Koha::Patron

This patch adds article_request_fee() and add_article_request_fee_if_needed() methods to Koha::Patron.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Patron.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Patron.pm
t/db_dependent/Koha/Patron.t