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 251-256 if( ( my $owing = $account->non_issues_charges ) > 0 ) { Link Here
251
    );
251
    );
252
}
252
}
253
253
254
# Check the debt of this patrons guarantors *and* the guarantees of those guarantors
255
my $no_issues_charge_guarantors = C4::Context->preference("NoIssuesChargeGuarantorsWithGuarantees");
256
if ( $no_issues_charge_guarantors ) {
257
    my $guarantors_non_issues_charges = $patron->relationships_debt({ include_guarantors => 1, only_this_guarantor => 0, include_this_patron => 1 });
258
259
    if ( $guarantors_non_issues_charges > $no_issues_charge_guarantors ) {
260
        $template->param(
261
            noissues                      => 1,
262
            charges_guarantors_guarantees => $guarantors_non_issues_charges
263
        );
264
    }
265
}
266
254
# if the expiry date is before today ie they have expired
267
# if the expiry date is before today ie they have expired
255
if ( $patron->is_expired ) {
268
if ( $patron->is_expired ) {
256
    #borrowercard expired, no issues
269
    #borrowercard expired, no issues
257
- 

Return to bug 33271