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

(-)a/C4/Members.pm (+1 lines)
Lines 358-363 sub GetMemberDetails { Link Here
358
        return;
358
        return;
359
    }
359
    }
360
    my $borrower = $sth->fetchrow_hashref;
360
    my $borrower = $sth->fetchrow_hashref;
361
    return unless $borrower;
361
    my ($amount) = GetMemberAccountRecords( $borrowernumber);
362
    my ($amount) = GetMemberAccountRecords( $borrowernumber);
362
    $borrower->{'amountoutstanding'} = $amount;
363
    $borrower->{'amountoutstanding'} = $amount;
363
    # FIXME - patronflags calls GetMemberAccountRecords... just have patronflags return $amount
364
    # FIXME - patronflags calls GetMemberAccountRecords... just have patronflags return $amount
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt (-1 / +1 lines)
Lines 270-276 Link Here
270
              <div id="bad_data" class="dialog alert">ERROR: Internal error: incomplete hold request.</div>
270
              <div id="bad_data" class="dialog alert">ERROR: Internal error: incomplete hold request.</div>
271
            [% END %]
271
            [% END %]
272
            [% IF ( expired_patron ) %]
272
            [% IF ( expired_patron ) %]
273
                <div id="expired_patron" class="dialog alert"><p><strong>Sorry</strong>, you cannot place holds because your library card has expired.<p><p>Please contact your librarian if you wish to renew your card</p></div>
273
                <div id="expired_patron" class="dialog alert"><p><strong>Sorry</strong>, you cannot place holds because your library card has expired.</p><p>Please contact your librarian if you wish to renew your card</p></div>
274
            [% END %]
274
            [% END %]
275
          [% ELSE %]
275
          [% ELSE %]
276
            [% IF ( none_available ) %]
276
            [% IF ( none_available ) %]
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt (-6 / +2 lines)
Lines 100-116 var MSG_CONFIRM_RESUME_HOLDS = _("Are you sure you want to resume all suspended Link Here
100
100
101
        [% IF ( BORROWER_INF.warnexpired ) %]
101
        [% IF ( BORROWER_INF.warnexpired ) %]
102
        <div class="dialog alert" id="warnexpired">
102
        <div class="dialog alert" id="warnexpired">
103
            <strong>Please note:</strong><span> Your account has expired. Please contact the library for more information.</span>
103
            <strong>Please note:</strong><span> You account has expired as of [% BORROWER_INF.warnexpired | $KohaDates %]. Please contact the library if you wish to renew your account.</span>
104
        </div>
105
        [% ELSIF ( BORROWER_INF.warnexpired ) %]
106
        <div class="dialog alert">
107
                <strong>Please note:</strong><span> You account has expired as of [% BORROWER_INF.warnexpired %]. Please contact the library if you wish to renew your account.</span>
108
        </div>
104
        </div>
109
        [% END %]
105
        [% END %]
110
106
111
        [% IF ( RENEW_ERROR ) %]
107
        [% IF ( RENEW_ERROR ) %]
112
        <div class="dialog alert">
108
        <div class="dialog alert">
113
                <string>Please note:</string>
109
                <strong>Please note:</strong>
114
                <span>
110
                <span>
115
                    Your account renewal failed because of the following:
111
                    Your account renewal failed because of the following:
116
                    [% FOREACH error IN RENEW_ERROR.split('\|') %]
112
                    [% FOREACH error IN RENEW_ERROR.split('\|') %]
(-)a/opac/opac-user.pl (-2 lines)
Lines 357-363 $template->param( Link Here
357
    patronupdate => $patronupdate,
357
    patronupdate => $patronupdate,
358
    OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"),
358
    OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"),
359
    userview => 1,
359
    userview => 1,
360
    dateformat => C4::Context->preference("dateformat"),
361
);
360
);
362
361
363
$template->param(
362
$template->param(
364
- 

Return to bug 6739