[Koha-bugs] [Bug 27946] Add a charge per article request to patron categories configuration

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 24 02:10:16 CEST 2021


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

--- Comment #4 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 120147
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120147&action=edit
Bug 27946: Add article request fee feature

This patch adds the ability to charge a fee for article scan requests.

To test:
1. apply patches
2. updatedatabase
3. restart_all
4. enable ArticleRequest in preferences
5. grab a patron category and set a fee for article requests
6. grab a patron of that category (patron a) and another fron different
category (patron b)
7. place an article request for both patrons
SUCCESS => only for patron a, a warning is displayed saying a fee will be
charged
8. check the account for both patrons
SUCCESS => only for patron a there is a debit of type ARTICLE_REQUEST
9. cancel the article request for patron a
SUCCESS => the debit for patron a gets canceled
10. repeat step 7 only for patron a
11. change article request fee for the patron a's category
12. repeat step 10
13. check account for patron a
SUCCESS => there are 2 debits with different amount of typ ARTICLE_REQUEST
14. cancel only one article request
SUCCESS => only the corresponding debit gets canceled
15. prove t/db_dependent/ArticleRequests.t

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


More information about the Koha-bugs mailing list