diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index 7bec8658df..a9f21d1127 100755 --- a/acqui/finishreceive.pl +++ b/acqui/finishreceive.pl @@ -59,6 +59,13 @@ my $bookfund = $input->param("bookfund"); my $order = GetOrder($ordernumber); my $new_ordernumber = $ordernumber; +#bug18723 regression fix +if (C4::Context->preference("CurrencyFormat") eq 'FR') { + if (rindex($unitprice, '.') ge 0) { + substr($unitprice, rindex($unitprice, '.'), 1, ','); + } +} + $unitprice = Koha::Number::Price->new( $unitprice )->unformat(); my $basket = Koha::Acquisition::Orders->find( $ordernumber )->basket;