@@ -, +, @@ --- admin/itemtypes.pl | 5 +---- koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 11 ++++++----- 2 files changed, 7 insertions(+), 9 deletions(-) --- a/admin/itemtypes.pl +++ a/admin/itemtypes.pl @@ -235,7 +235,7 @@ elsif ( $op eq 'delete_confirm' ) { $template->param( itemtype => $itemtype, description => $data->{description}, - rentalcharge => sprintf( "%.2f", $data->{rentalcharge} ), + rentalcharge => $data->{rentalcharge}, imageurl => $data->{imageurl}, total => $total ); @@ -261,9 +261,6 @@ if ( $op eq 'list' ) { my @loop; foreach my $itemtype ( @{$results} ) { $itemtype->{imageurl} = getitemtypeimagelocation( 'intranet', $itemtype->{imageurl} ); - $itemtype->{rentalcharge} = sprintf( '%.2f', $itemtype->{rentalcharge} ); - $itemtype->{defaultreplacecost} = sprintf( '%.2f', $itemtype->{defaultreplacecost} ); - $itemtype->{processfee} = sprintf( '%.2f', $itemtype->{processfee} ); push( @loop, $itemtype ); } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt @@ -1,4 +1,5 @@ [% USE AuthorisedValues %] +[% USE Price %] [% INCLUDE 'doc-head-open.inc' %]