|
Lines 79-85
if($total <= 0){
Link Here
|
| 79 |
$totalcredit = 1; |
79 |
$totalcredit = 1; |
| 80 |
} |
80 |
} |
| 81 |
|
81 |
|
| 82 |
my $reverse_col = ( Koha::Account::Lines->search( |
82 |
my $actions_col = ( Koha::Account::Lines->search( |
| 83 |
{ borrowernumber => $patron->borrowernumber }, |
83 |
{ borrowernumber => $patron->borrowernumber }, |
| 84 |
{ where => { amount => { '<=', 0 } } } )->count > 0 ) ? 1 : 0; |
84 |
{ where => { amount => { '<=', 0 } } } )->count > 0 ) ? 1 : 0; |
| 85 |
|
85 |
|
|
Lines 96-102
$template->param(
Link Here
|
| 96 |
finesview => 1, |
96 |
finesview => 1, |
| 97 |
total => sprintf("%.2f",$total), |
97 |
total => sprintf("%.2f",$total), |
| 98 |
totalcredit => $totalcredit, |
98 |
totalcredit => $totalcredit, |
| 99 |
reverse_col => $reverse_col, |
99 |
actions_col => $actions_col, |
| 100 |
accounts => \@accountlines, |
100 |
accounts => \@accountlines, |
| 101 |
); |
101 |
); |
| 102 |
|
102 |
|
| 103 |
- |
|
|