From c9b0fd1a799f6992917f1b5fb92b661ad18cb30c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 20 Sep 2021 20:39:22 +0200 Subject: [PATCH] DeliveryOrder: exchangerate --- SL/Controller/DeliveryOrder.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/SL/Controller/DeliveryOrder.pm b/SL/Controller/DeliveryOrder.pm index 8813b1b6f..3bbd8520c 100644 --- a/SL/Controller/DeliveryOrder.pm +++ b/SL/Controller/DeliveryOrder.pm @@ -796,7 +796,6 @@ sub action_update_exchangerate { my $data = { is_standard => $self->order->currency_id == $::instance_conf->get_currency_id, currency_name => $self->order->currency->name, - exchangerate => $self->order->daily_exchangerate_as_null_number, }; $self->render(\SL::JSON::to_json($data), { type => 'json', process => 0 }); @@ -1327,7 +1326,6 @@ sub new_item { $price_src = $price_source->best_price ? $price_source->best_price : $price_source->price_from_source(""); - $price_src->price($::form->round_amount($price_src->price / $record->exchangerate, 5)) if $record->exchangerate; $price_src->price(0) if !$price_source->best_price; } -- 2.20.1