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 230-236 Link Here
230
              <div id="bad_data" class="dialog alert">ERROR: Internal error: incomplete hold request.</div>
230
              <div id="bad_data" class="dialog alert">ERROR: Internal error: incomplete hold request.</div>
231
            [% END %]
231
            [% END %]
232
            [% IF ( expired_patron ) %]
232
            [% IF ( expired_patron ) %]
233
                <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>
233
                <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
            [% END %]
234
            [% END %]
235
          [% ELSE %]
235
          [% ELSE %]
236
            [% IF ( none_available ) %]
236
            [% IF ( none_available ) %]
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt (-6 / +2 lines)
Lines 119-135 Link Here
119
119
120
        [% IF ( BORROWER_INF.warnexpired ) %]
120
        [% IF ( BORROWER_INF.warnexpired ) %]
121
        <div class="dialog alert" id="warnexpired">
121
        <div class="dialog alert" id="warnexpired">
122
            <strong>Please note:</strong><span> Your account has expired. Please contact the library for more information.</span>
122
            <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>
123
        </div>
124
        [% ELSIF ( BORROWER_INF.warnexpired ) %]
125
        <div class="dialog alert">
126
                <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>
127
        </div>
123
        </div>
128
        [% END %]
124
        [% END %]
129
125
130
        [% IF ( RENEW_ERROR ) %]
126
        [% IF ( RENEW_ERROR ) %]
131
        <div class="dialog alert">
127
        <div class="dialog alert">
132
                <string>Please note:</string>
128
                <strong>Please note:</strong>
133
                <span>
129
                <span>
134
                    Your account renewal failed because of the following:
130
                    Your account renewal failed because of the following:
135
                    [% FOREACH error IN RENEW_ERROR.split('\|') %]
131
                    [% 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