View | Details | Raw Unified | Return to bug 17492
Collapse All | Expand All

(-)a/circ/circulation.pl (-1 lines)
Lines 317-323 if ($borrowernumber) { Link Here
317
    my $borrowercategory = Koha::Patron::Categories->find($borrower->{ 'categorycode' });
317
    my $borrowercategory = Koha::Patron::Categories->find($borrower->{ 'categorycode' });
318
    my ($low,$high) = ($borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit);
318
    my ($low,$high) = ($borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit);
319
    if (($high && ($age > $high)) or ($age < $low)) {
319
    if (($high && ($age > $high)) or ($age < $low)) {
320
        $template->param( flagged => 1 );
321
        $template->param( age_limitations => 1 );
320
        $template->param( age_limitations => 1 );
322
        $template->param( age_low => $low );
321
        $template->param( age_low => $low );
323
        $template->param( age_high => $high );
322
        $template->param( age_high => $high );
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/category-out-of-age-limit.inc (-2 lines)
Lines 1-6 Link Here
1
[% IF age_limitations %]
2
    <li>
1
    <li>
3
    <span class="circ-hlt">Patron's age is incorrect for their category.</span>
2
    <span class="circ-hlt">Patron's age is incorrect for their category.</span>
4
    Ages allowed are [% age_low %]-[% age_high %].
3
    Ages allowed are [% age_low %]-[% age_high %].
5
    <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=3" class="btn btn-mini">Change category</a></li>
4
    <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=3" class="btn btn-mini">Change category</a></li>
6
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-10 / +8 lines)
Lines 790-804 No patron matched <span class="ex">[% message | html %]</span> Link Here
790
                [% IF ( odues ) %]<li>[% IF ( nonreturns ) %]<span class="circ-hlt">Overdues: Patron has ITEMS OVERDUE.</span> <a href="#checkouts">See highlighted items below</a>[% END %]</li>
790
                [% IF ( odues ) %]<li>[% IF ( nonreturns ) %]<span class="circ-hlt">Overdues: Patron has ITEMS OVERDUE.</span> <a href="#checkouts">See highlighted items below</a>[% END %]</li>
791
            [% END %]
791
            [% END %]
792
792
793
            [% IF ( charges || age_limitations ) %]
793
            [% IF charges %]
794
                [% IF charges %]
794
                [% INCLUDE 'blocked-fines.inc'
795
                    [% INCLUDE 'blocked-fines.inc'
795
                    fines = chargesamount
796
                        fines = chargesamount
796
                %]
797
                    %]
797
            [% END %]
798
                [% END %]
798
799
                [% IF age_limitations %]
799
            [% IF age_limitations %]
800
                    [% INCLUDE 'category-out-of-age-limit.inc' %]
800
                [% INCLUDE 'category-out-of-age-limit.inc' %]
801
                [% END %]
802
            [% END %]
801
            [% END %]
803
802
804
            [% IF ( charges_guarantees ) %]
803
            [% IF ( charges_guarantees ) %]
805
- 

Return to bug 17492