|
Lines 277-287
if ($borrower) {
Link Here
|
| 277 |
m/priority/ and $show_priority = 1; |
277 |
m/priority/ and $show_priority = 1; |
| 278 |
} |
278 |
} |
| 279 |
|
279 |
|
| 280 |
my $total = $patron->account->balance; |
280 |
my $account = $patron->account; |
| 281 |
my @accts = Koha::Account::Lines->search( |
281 |
my $total = $account->balance; |
| 282 |
{ borrowernumber => $borrower->{borrowernumber} }, |
282 |
my $accountlines = $account->lines; |
| 283 |
{ order_by => { -desc => 'accountlines_id' } } |
|
|
| 284 |
); |
| 285 |
|
283 |
|
| 286 |
my $holds = $patron->holds; |
284 |
my $holds = $patron->holds; |
| 287 |
|
285 |
|
|
Lines 300-306
if ($borrower) {
Link Here
|
| 300 |
SuspendHoldsOpac => C4::Context->preference('SuspendHoldsOpac'), |
298 |
SuspendHoldsOpac => C4::Context->preference('SuspendHoldsOpac'), |
| 301 |
AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), |
299 |
AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), |
| 302 |
howpriority => $show_priority, |
300 |
howpriority => $show_priority, |
| 303 |
ACCOUNT_LINES => \@accts, |
301 |
ACCOUNT_LINES => $accountlines, |
| 304 |
total => $total, |
302 |
total => $total, |
| 305 |
); |
303 |
); |
| 306 |
|
304 |
|
| 307 |
- |
|
|