X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=acqui%2Faddorderiso2709.pl;h=23020c71777ff46b8c079edaa31a8e30dd4a3348;hb=ddfb28876c541823fcd0ca8b50f9164473beba80;hp=8d9c0e3fc567f3b5c68e6306082380e9f703a234;hpb=58e3065af4168a39d4af01eeee6ee7bad6db57ce;p=koha_fer diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl index 8d9c0e3fc5..23020c7177 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -202,13 +202,9 @@ if ($op eq ""){ "notes", $cgiparams->{'notes'}, "budget_id", $cgiparams->{'budget_id'}, "currency",$cgiparams->{'currency'}, ); - # get the price if there is one. - # filter by storing only the 1st number - # we suppose the currency is correct, as we have no possibilities to get it. - my $price= GetMarcPrice($marcrecord, C4::Context->preference('marcflavour')); - if ($price){ - $price = $num->unformat_number($price); - } + + my $price = GetMarcPrice($marcrecord, C4::Context->preference('marcflavour')); + if ($price){ $orderinfo{'listprice'} = $price; eval {