From 47bded0e2297a91b7e725278b301ea47db2d7008 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 9 Sep 2014 11:31:18 +0200 Subject: [PATCH] PriceSource: Bei Lieferscheinen best_price nicht nachrechnen --- bin/mozilla/io.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 768572e74..93d73949e 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -323,7 +323,7 @@ sub display_row { $column_data{weight} = $form->format_amount(\%myconfig, $form->{"qty_$i"} * $form->{"weight_$i"}, 3) . ' ' . $defaults->{weightunit} if $defaults->{show_weight}; - if ($form->{"id_${i}"}) { + if ($form->{"id_${i}"} && !$is_delivery_order) { my $price_source = SL::PriceSource->new(record_item => $record_item, record => $record); my $price = $price_source->price_from_source($::form->{"active_price_source_$i"}); $column_data{price_source} .= $cgi->button(-value => $price->full_description, -onClick => "kivi.io.price_chooser($i)"); -- 2.20.1