@@ -, +, @@
- 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
---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 4 ++--
opac/opac-reserve.pl | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt
@@ -130,9 +130,9 @@
[% IF (RESERVE_CHARGE) %]
[% IF Koha.Preference('HoldFeeMode') == 'any_time_is_collected' %]
- You will be charged a hold fee of [% RESERVE_CHARGE | html %] when you collect this item
+ You will be charged a hold fee of [% RESERVE_CHARGE | $Price %] when you collect this item
[% ELSE %]
- You will be charged a hold fee of [% RESERVE_CHARGE | html %] for placing this hold
+ You will be charged a hold fee of [% RESERVE_CHARGE | $Price %] for placing this hold
[% END %]
[% END %]
--- a/opac/opac-reserve.pl
+++ a/opac/opac-reserve.pl
@@ -101,7 +101,7 @@ if ( $patron->category->effective_BlockExpiredPatronOpacActions ) {
# Pass through any reserve charge
my $reservefee = $patron->category->reservefee;
if ( $reservefee > 0){
- $template->param( RESERVE_CHARGE => sprintf("%.2f",$reservefee));
+ $template->param( RESERVE_CHARGE => $reservefee);
}
my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } };
--