@@ -, +, @@ --- C4/SIP/ILS/Transaction/Renew.pm | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) --- a/C4/SIP/ILS/Transaction/Renew.pm +++ a/C4/SIP/ILS/Transaction/Renew.pm @@ -48,7 +48,7 @@ sub do_renew_for { unless ( C4::Accounts::GetTotalFines($borrower->{borrowernumber}) < C4::Context->preference('OPACFineNoRenewals') ) { $renewokay = 0; - $renewerror = 'too_many_fines' + $renewerror = 'fines_exceed_OPACFineNoRenewals' } if ($renewokay){ @@ -62,6 +62,7 @@ sub do_renew_for { } else { $renewerror=~s/on_reserve/Item unavailable due to outstanding holds/; $renewerror=~s/too_many/Item has reached maximum renewals/; + $renewerror=~s/fines_exceed_OPACFineNoRenewals/Total fines owed exceeds amount that would allow renewal/; $self->screen_msg($renewerror); $self->renewal_ok(0); } --