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