@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 4 ++-- members/boraccount.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -47,7 +47,7 @@ Note Amount Outstanding - [% IF ( reverse_col ) %] + [% IF ( actions_col ) %] Actions [% ELSE %]   @@ -76,7 +76,7 @@ Print [% END %] Details - [% IF ( reverse_col) %] + [% IF ( actions_col) %] [% IF account.is_credit %] Void [% ELSE %] --- a/members/boraccount.pl +++ a/members/boraccount.pl @@ -79,7 +79,7 @@ if($total <= 0){ $totalcredit = 1; } -my $reverse_col = ( Koha::Account::Lines->search( +my $actions_col = ( Koha::Account::Lines->search( { borrowernumber => $patron->borrowernumber }, { where => { amount => { '<=', 0 } } } )->count > 0 ) ? 1 : 0; @@ -96,7 +96,7 @@ $template->param( finesview => 1, total => sprintf("%.2f",$total), totalcredit => $totalcredit, - reverse_col => $reverse_col, + actions_col => $actions_col, accounts => \@accountlines, ); --