Bug 27946: Add UI handling of AR fees
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 17 Dec 2021 13:32:04 +0000 (10:32 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 28 Jan 2022 21:09:07 +0000 (11:09 -1000)
commitf5536c566e9b261ada0a9a9213b39d70b0f9086e
tree75e5b617254fcf36d3e6d3229852b261b315d298
parentb4fd79e750326f5492154cba39f7a254160512e4
Bug 27946: Add UI handling of AR fees

This patch:
- Adds a notice about the fee to be charged to the patron (staff and
  OPAC)
- Adds the right UI description for ARTICLE_REQUEST_FEE debit types in
  the UI.

To test:
1. Have some article request fee rules
2. Play with placing an article request in OPAC and staff
=> SUCCESS: You see a message about the fee
=> SUCCESS: The fees are correctly applied to the patron
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>
circ/request-article.pl
koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc
koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt
opac/opac-request-article.pl