@@ -, +, @@ --- .../prog/en/includes/category-out-of-age-limit.inc | 6 +++--- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 12 ++++++------ .../intranet-tmpl/prog/en/modules/members/moremember.tt | 10 +++++----- members/moremember.pl | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/category-out-of-age-limit.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/category-out-of-age-limit.inc @@ -1,6 +1,6 @@ [% IF age_limitations %]
  • - Patron's age is incorrect for their category. - Ages allowed are [% age_low %]-[% age_high %]. - Change category
  • + Patron's age is incorrect for their category. + Ages allowed are [% age_low %]-[% age_high %]. + Change category [% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -791,14 +791,14 @@ No patron matched [% message | html %] [% END %] [% IF ( charges || age_limitations ) %] - [% IF charges %] - [% INCLUDE 'blocked-fines.inc' + [% IF charges %] + [% INCLUDE 'blocked-fines.inc' fines = chargesamount %] - [% END %] - [% IF age_limitations %] - [% INCLUDE 'category-out-of-age-limit.inc' %] - [% END %] + [% END %] + [% IF age_limitations %] + [% INCLUDE 'category-out-of-age-limit.inc' %] + [% END %] [% END %] [% IF ( charges_guarantees ) %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -181,12 +181,12 @@ function validate1(date) { [% IF fines || age_limitations %] [% END %] --- a/members/moremember.pl +++ a/members/moremember.pl @@ -243,7 +243,7 @@ $template->param( age => $age ); my $borrowercategory = Koha::Patron::Categories->find($data->{ 'categorycode' }); my ($low,$high) = ($borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit); if (($high && ($age > $high)) or ($age < $low)) { - $template->param( age_limitations => 1 ); + $template->param( age_limitations => 1 ); $template->param( age_low => $low ); $template->param( age_high => $high ); } --