@@ -, +, @@
oldamount/amountold in circulation.pl
---
circ/circulation.pl | 4 ----
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 1 -
2 files changed, 5 deletions(-)
--- a/circ/circulation.pl
+++ a/circ/circulation.pl
@@ -540,9 +540,6 @@ foreach my $flag ( sort keys %$flags ) {
}
}
-my $amountold = $flags ? $flags->{'CHARGES'}->{'message'} || 0 : 0;
-$amountold =~ s/^.*\$//; # remove upto the $, if any
-
my $total = $patron ? $patron->account->balance : 0;
if ( $patron && $patron->category->category_type eq 'C') {
@@ -624,7 +621,6 @@ $template->param(
borrowernumber => $borrowernumber,
branch => $branch,
was_renewed => scalar $query->param('was_renewed') ? 1 : 0,
- amountold => $amountold,
barcodes => $barcodes,
stickyduedate => $stickyduedate,
duedatespec => $duedatespec,
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -728,7 +728,6 @@ No patron matched [% message | html %]
[% IF ( CHARGES ) %]
-
[% END %]
[% IF ( issue ) %]
--