X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fio.pl;h=f42db465410f74ef90bdf1056654be4f8b62ea2d;hb=f04e9769b7015b54a3d3ceb87072cc31579c5470;hp=4ad3cbf2fe66810cf2410c77ac1e24768fc0bf1a;hpb=0153e51aabee4e4085f179bc0473e440fae8eb4c;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 4ad3cbf2f..f42db4654 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -345,7 +345,7 @@ sub display_row { 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"}); - my $discount = $price_source->price_from_source($::form->{"active_discount_source_$i"}); + my $discount = $price_source->discount_from_source($::form->{"active_discount_source_$i"}); my $best_price = $price_source->best_price; my $best_discount = $price_source->best_discount; $column_data{price_source} .= $cgi->button(-value => $price->source_description, -onClick => "kivi.io.price_chooser($i)");