|
Lines 257-266
if ($patron) {
Link Here
|
| 257 |
$template->param("returnbeforeexpiry" => 1); |
257 |
$template->param("returnbeforeexpiry" => 1); |
| 258 |
} |
258 |
} |
| 259 |
} |
259 |
} |
|
|
260 |
|
| 261 |
my $account = $patron->account; |
| 262 |
my $account_lines = $account->outstanding_debits; |
| 263 |
my $total = $account_lines->total_outstanding; |
| 264 |
|
| 260 |
$template->param( |
265 |
$template->param( |
| 261 |
overduecount => $overdues->count, |
266 |
overduecount => $overdues->count, |
| 262 |
issuecount => $issues->count, |
267 |
issuecount => $issues->count, |
| 263 |
finetotal => $balance, |
268 |
finetotal => $balance, |
|
|
269 |
total => $total, |
| 264 |
); |
270 |
); |
| 265 |
|
271 |
|
| 266 |
if ( $patron and $patron->is_debarred ) { |
272 |
if ( $patron and $patron->is_debarred ) { |