diff --git a/circ/circulation.pl b/circ/circulation.pl index 70e7fd230b..28d0685a72 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -568,6 +568,7 @@ foreach $flag ( sort keys %$flags ) { $template->param( charges => 'true', chargesmsg => $flags->{'CHARGES'}->{'message'}, + chargesamount => $flags->{'CHARGES'}->{'amount'}, charges_is_blocker => 1 ); } @@ -583,7 +584,8 @@ foreach $flag ( sort keys %$flags ) { $template->param( charges => 'true', flagged => 1, - chargesmsg => $flags->{'CHARGES'}->{'message'} + chargesmsg => $flags->{'CHARGES'}->{'message'}, + chargesamount => $flags->{'CHARGES'}->{'amount'}, ); } if ( $flag eq 'CREDITS' ) { diff --git a/circ/returns.pl b/circ/returns.pl index cb2f87a088..b736ecfd3c 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -456,6 +456,7 @@ if ($borrower) { if ( $flag eq 'CHARGES' ) { $flaginfo{msg} = $flag; $flaginfo{charges} = 1; + $flaginfo{chargeamount} = $flags->{$flag}->{amount}; $flaginfo{borrowernumber} = $borrower->{borrowernumber}; } elsif ( $flag eq 'WAITING' ) { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl index 8a40fd22b6..04685a83c8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl @@ -339,7 +339,7 @@ No patron matched