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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-2 / +2 lines)
Lines 133-139 Link Here
133
                                    [% IF ( lost ) %]
133
                                    [% IF ( lost ) %]
134
                                        <li class="blocker">Patron's card has been reported lost.</li>
134
                                        <li class="blocker">Patron's card has been reported lost.</li>
135
                                    [% END %]
135
                                    [% END %]
136
                                    [% IF ( expired ) %]
136
                                    [% IF ( patron.is_expired ) %]
137
                                        <li class="blocker">
137
                                        <li class="blocker">
138
                                            <span class="circ-hlt">Expiration:</span>
138
                                            <span class="circ-hlt">Expiration:</span>
139
                                            [% IF ( patron.dateexpiry ) %]
139
                                            [% IF ( patron.dateexpiry ) %]
Lines 439-445 Link Here
439
                                            <span class="label">Expiration date: </span>
439
                                            <span class="label">Expiration date: </span>
440
                                            [% IF ( was_renewed ) %]
440
                                            [% IF ( was_renewed ) %]
441
                                                <strong class="reregistrinfo">[% patron.dateexpiry | $KohaDates %]</strong>
441
                                                <strong class="reregistrinfo">[% patron.dateexpiry | $KohaDates %]</strong>
442
                                            [% ELSIF ( expired ) %]
442
                                            [% ELSIF ( patron.is_expired ) %]
443
                                                <span class="blocker">
443
                                                <span class="blocker">
444
                                                    [% patron.dateexpiry | $KohaDates %]
444
                                                    [% patron.dateexpiry | $KohaDates %]
445
                                                    <strong><em>Expired</em></strong>
445
                                                    <strong><em>Expired</em></strong>
(-)a/members/moremember.pl (-10 lines)
Lines 311-325 my $translated_language = C4::Languages::language_get_description( $subtag, $sub Link Here
311
# if the expiry date is before today ie they have expired
311
# if the expiry date is before today ie they have expired
312
if ( $patron->is_expired ) {
312
if ( $patron->is_expired ) {
313
    $template->param(
313
    $template->param(
314
        expired => "1",
315
        flagged => 1
316
    );
317
}
318
# check for NotifyBorrowerDeparture
319
elsif ( $patron->is_going_to_expire ) {
320
    # borrower card soon to expire warn librarian
321
    $template->param(
322
        "warndeparture" => $patron->dateexpiry,
323
        flagged => 1
314
        flagged => 1
324
    );
315
    );
325
}
316
}
326
- 

Return to bug 22134