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

(-)a/C4/Members.pm (+1 lines)
Lines 355-360 sub GetMemberDetails { Link Here
355
        return;
355
        return;
356
    }
356
    }
357
    my $borrower = $sth->fetchrow_hashref;
357
    my $borrower = $sth->fetchrow_hashref;
358
    return unless $borrower;
358
    my ($amount) = GetMemberAccountRecords( $borrowernumber);
359
    my ($amount) = GetMemberAccountRecords( $borrowernumber);
359
    $borrower->{'amountoutstanding'} = $amount;
360
    $borrower->{'amountoutstanding'} = $amount;
360
    # FIXME - patronflags calls GetMemberAccountRecords... just have patronflags return $amount
361
    # FIXME - patronflags calls GetMemberAccountRecords... just have patronflags return $amount
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt (-1 / +1 lines)
Lines 231-237 Link Here
231
              <div id="bad_data" class="dialog alert">ERROR: Internal error: incomplete hold request.</div>
231
              <div id="bad_data" class="dialog alert">ERROR: Internal error: incomplete hold request.</div>
232
            [% END %]
232
            [% END %]
233
            [% IF ( expired_patron ) %]
233
            [% IF ( expired_patron ) %]
234
                <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>
234
                <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>
235
            [% END %]
235
            [% END %]
236
          [% ELSE %]
236
          [% ELSE %]
237
            [% IF ( none_available ) %]
237
            [% 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 358-364 $template->param( Link Here
358
    patronupdate => $patronupdate,
358
    patronupdate => $patronupdate,
359
    OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"),
359
    OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"),
360
    userview => 1,
360
    userview => 1,
361
    dateformat => C4::Context->preference("dateformat"),
362
);
361
);
363
362
364
$template->param(
363
$template->param(
365
- 

Return to bug 6739