From: Sven Schöling Date: Tue, 9 Sep 2014 09:31:18 +0000 (+0200) Subject: PriceSource: Bei Lieferscheinen best_price nicht nachrechnen X-Git-Tag: release-3.2.0beta~162 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=47bded0e2297a91b7e725278b301ea47db2d7008;p=kivitendo-erp.git PriceSource: Bei Lieferscheinen best_price nicht nachrechnen --- 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)");