]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/io.pl
Bei Gutschrift aus VK-Rechnung auch EK-Preis übernehmen
[mfinanz.git] / bin / mozilla / io.pl
index 9dd8e8cc4c8a72a9fba2bd47144b411fcdcc690e..37fdda8afdf72891dcf8bf8b5497da9e8f21a526 100644 (file)
@@ -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/) ;