From 627b91c86f6cace3cb63ab28ddfcaf7bcce6010a Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Mon, 5 Sep 2011 13:12:26 +0200 Subject: [PATCH] =?utf8?q?Bei=20Gutschrift=20aus=20VK-Rechnung=20auch=20EK?= =?utf8?q?-Preis=20=C3=BCbernehmen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Ansonsten geht lastcost verloren und Ertrag der Gutschrift wird 100% Dies stört im Rechnungsbericht und Verkaufsbericht --- 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 9dd8e8cc4..37fdda8af 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -350,7 +350,7 @@ sub display_row { $marge_color, $locale->text('Ertrag'),$form->{"marge_absolut_$i"}, $form->{"marge_percent_$i"}, $locale->text('LP'), $form->format_amount(\%myconfig, $form->{"listprice_$i"}, 2), $locale->text('EK'), $form->format_amount(\%myconfig, $form->{"lastcost_$i"}, 2) } - if $form->{"id_$i"} && ($form->{type} =~ /^sales_/ || $form->{type} =~ /invoice/) && !$is_delivery_order; + if $form->{"id_$i"} && ($form->{type} =~ /^sales_/ || $form->{type} =~ /invoice/ || $form->{type} =~ /^credit_note$/ ) && !$is_delivery_order; $form->{"listprice_$i"} = $form->format_amount(\%myconfig, $form->{"listprice_$i"}, 2) if $form->{"id_$i"} && ($form->{type} =~ /^sales_/ || $form->{type} =~ /invoice/) ; -- 2.20.1