From 9e11fa5950f106b7e58fd0c2d5d4033fc69d8566 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 6 Jul 2015 09:43:34 -0400 Subject: [PATCH] Bug 14497 - Add warning to patron details page if patron's fines exceed noissuescharge Some librarians have requested that the same warning on the check out page be placed on the patron details page if a patron's fines exceed the system preference noissuescharge. Test Plan: 1) Apply this patch 2) Find or create a patron who's fines exceed noissuescharge 3) Browse to that patron's details ( moremember.pl ) 4) You should see a warning near the top of the page with links to the patron's account page and the pay fines page --- .../prog/en/modules/members/moremember.tt | 11 +++++++++++ members/moremember.pl | 2 +- 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index e3ca832..e0e0852 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -168,6 +168,17 @@ function validate1(date) { [% ELSE %] [% IF ( was_renewed ) %]
Patron's account has been renewed until [% dateexpiry %]
[% END %] + [% IF fines %] + [% SET NoIssuesCharge = Koha.Preference('noissuescharge') %] + [% IF NoIssuesCharge && fines > NoIssuesCharge %] +
  • + Fees & Charges: Patron has Outstanding fees & charges[% IF ( chargesamount ) %] of [% chargesamount %][% END %]. + Checkouts are BLOCKED because fine balance is OVER THE LIMIT. + Make payment +
  • + [% END %] + [% END %] + [% IF ( flagged ) %]