Bug 22118: Format hold fee when placing holds in OPAC
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 12 Jan 2019 08:21:38 +0000 (09:21 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 25 Jan 2019 16:13:19 +0000 (16:13 +0000)
commit4f0618a8888dff72b15dfe9193259c1bc5d06b5f
treea6498d478f41a96cb78d994af6c2327ebeb2708e
parent495619649b329ce52b86998668461ca72827c6ab
Bug 22118: Format hold fee when placing holds in OPAC

When Koha charges for holds, a message with the fee is
shown before the patron places the hold. The amount needs
to be formatted according to CurrencyFormat system preference.

To test:
- Add a hold fee to your patron category
- Log into the OPAC
- Search for a record to place a hold on
- Click Place hold
- Verify there is a note showing about the hold fee
- Toggle CurrencyFormat and HoldFeeMode and verify
  that the formatting is always correct

Signed-off-by: Jack Kelliher <jke0429@stacmail.net>
Signed-off-by: Mikael Olangcay Brisebois <mikael.olangcay-brisebois@inlibro.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt
opac/opac-reserve.pl