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

(-)a/circ/circulation.pl (+12 lines)
Lines 695-700 if ($patron) { Link Here
695
        }
695
        }
696
    }
696
    }
697
697
698
    # Check the debt of this patron's linked accounts
699
    my $no_issues_charge_linked = $patron_charge_limits->{NoIssuesChargeLinkedAccounts}->{limit};
700
    if ( defined $no_issues_charge_linked ) {
701
        if ( $patron_charge_limits->{NoIssuesChargeLinkedAccounts}->{overlimit} ) {
702
            $template->param(
703
                charges_linked_accounts       => 1,
704
                chargesamount_linked_accounts => $patron_charge_limits->{NoIssuesChargeLinkedAccounts}->{charge},
705
            );
706
            $noissues = 1 unless C4::Context->preference("allowfineoverride");
707
        }
708
    }
709
698
    if ( $patron->has_overdues ) {
710
    if ( $patron->has_overdues ) {
699
        $template->param( odues => 1 );
711
        $template->param( odues => 1 );
700
    }
712
    }
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-2 / +10 lines)
Lines 5-11 Link Here
5
[% SET return_claims = patron.return_claims %]
5
[% SET return_claims = patron.return_claims %]
6
[% SET logged_in_branchcode = Branches.GetLoggedInBranchcode() %]
6
[% SET logged_in_branchcode = Branches.GetLoggedInBranchcode() %]
7
7
8
[% IF ( has_modifications || warndeparture || returnbeforeexpiry || expired || patron.gonenoaddress || patron.lost || userdebarred || odues || ( return_claims.count > ClaimReturnedWarningThreshold ) || age_limitations || limited_category || charges || charges_guarantors_guarantees || charges_guarantees || credits || patron.account_locked ) %]
8
[% IF ( has_modifications || warndeparture || returnbeforeexpiry || expired || patron.gonenoaddress || patron.lost || userdebarred || odues || ( return_claims.count > ClaimReturnedWarningThreshold ) || age_limitations || limited_category || charges || charges_guarantors_guarantees || charges_guarantees || charges_linked_accounts || credits || patron.account_locked ) %]
9
    <h3>Attention</h3>
9
    <h3>Attention</h3>
10
    <ul>
10
    <ul>
11
        [% IF ( has_modifications ) %]
11
        [% IF ( has_modifications ) %]
Lines 166-171 Link Here
166
            </li>
166
            </li>
167
        [% END %]
167
        [% END %]
168
168
169
        [% IF ( charges_linked_accounts ) %]
170
            <li class="charges_linked_accounts">
171
                <span class="circ-hlt">Charges:</span> Patron's linked accounts collectively owe [% chargesamount_linked_accounts | $Price %].
172
                [% IF noissues %]
173
                    <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
174
                [% END %]
175
            </li>
176
        [% END %]
177
169
        [% IF ( credits ) %]
178
        [% IF ( credits ) %]
170
            <li class="credits"><span class="circ-hlt">Credits:</span> Patron has outstanding credits [% IF ( creditsamount ) %]of <span class="credit"><strong>[% creditsamount | $Price %]</strong></span>[% END %]</li>
179
            <li class="credits"><span class="circ-hlt">Credits:</span> Patron has outstanding credits [% IF ( creditsamount ) %]of <span class="credit"><strong>[% creditsamount | $Price %]</strong></span>[% END %]</li>
171
        [% END %]
180
        [% END %]
172
- 

Return to bug 39658