Lines 79-85
if($total <= 0){
Link Here
|
79 |
$totalcredit = 1; |
79 |
$totalcredit = 1; |
80 |
} |
80 |
} |
81 |
|
81 |
|
82 |
my $reverse_col = 0; # Flag whether we need to show the reverse column |
82 |
my $reverse_col = ( Koha::Account::Lines->search( |
|
|
83 |
{ borrowernumber => $patron->borrowernumber }, |
84 |
{ where => { amount => { '<=', 0 } } } )->count > 0 ) ? 1 : 0; |
83 |
|
85 |
|
84 |
if (C4::Context->preference('ExtendedPatronAttributes')) { |
86 |
if (C4::Context->preference('ExtendedPatronAttributes')) { |
85 |
my $attributes = GetBorrowerAttributes($borrowernumber); |
87 |
my $attributes = GetBorrowerAttributes($borrowernumber); |
86 |
- |
|
|