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