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 |
- |
|
|