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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-1 / +1 lines)
Lines 76-82 Link Here
76
                [% END %]
76
                [% END %]
77
                <a class="btn btn-xs btn-default" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a>
77
                <a class="btn btn-xs btn-default" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a>
78
78
79
                [% IF (noissues && CAN_user_circulate_force_checkout) %]
79
                [% IF (noissues && CAN_user_circulate_force_checkout && !moremember) %]
80
                    <span class="override_debarment">
80
                    <span class="override_debarment">
81
                        <a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&amp;borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-xs btn-default">Override restriction temporarily</a>
81
                        <a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&amp;borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-xs btn-default">Override restriction temporarily</a>
82
                    </span>
82
                    </span>
(-)a/members/moremember.pl (-1 / +13 lines)
Lines 246-251 if( ( my $owing = $account->non_issues_charges ) > 0 ) { Link Here
246
    );
246
    );
247
}
247
}
248
248
249
# Check the debt of this patrons guarantors *and* the guarantees of those guarantors
250
my $no_issues_charge_guarantors = C4::Context->preference("NoIssuesChargeGuarantorsWithGuarantees");
251
if ( $no_issues_charge_guarantors ) {
252
    my $guarantors_non_issues_charges = $patron->relationships_debt({ include_guarantors => 1, only_this_guarantor => 0, include_this_patron => 1 });
253
254
    if ( $guarantors_non_issues_charges > $no_issues_charge_guarantors ) {
255
        $template->param(
256
            noissues                      => 1,
257
            charges_guarantors_guarantees => $guarantors_non_issues_charges
258
        );
259
    }
260
}
261
249
# if the expiry date is before today ie they have expired
262
# if the expiry date is before today ie they have expired
250
if ( $patron->is_expired ) {
263
if ( $patron->is_expired ) {
251
    #borrowercard expired, no issues
264
    #borrowercard expired, no issues
252
- 

Return to bug 33271