diff --git a/acqui/ordered.pl b/acqui/ordered.pl index ebf89e86d0..f6796f2e3f 100755 --- a/acqui/ordered.pl +++ b/acqui/ordered.pl @@ -99,7 +99,7 @@ while ( my $data = $sth->fetchrow_hashref ) { $left = $data->{'quantity'}; } if ( $left && $left > 0 ) { - my $subtotal = get_rounded_price( $left * $data->{'ecost_tax_included'} ); + my $subtotal = $left * get_rounded_price( $data->{'ecost_tax_included'} ); $data->{subtotal} = sprintf( "%.2f", $subtotal ); $data->{'left'} = $left; push @ordered, $data;