Fix für Bug 1696.
authorBernd Blessmann <bibi@online.de>
Wed, 17 Aug 2011 05:30:43 +0000 (07:30 +0200)
committerBernd Blessmann <bibi@online.de>
Wed, 17 Aug 2011 05:30:43 +0000 (07:30 +0200)
Listenpreis wird bei Workflow xxx->Rechnung jetzt richtig angezeigt.

bin/mozilla/io.pl

index 770e1c7..9dd8e8c 100644 (file)
@@ -351,6 +351,9 @@ sub display_row {
                    $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;
+
+    $form->{"listprice_$i"} = $form->format_amount(\%myconfig, $form->{"listprice_$i"}, 2)
+      if $form->{"id_$i"} && ($form->{type} =~ /^sales_/ ||  $form->{type} =~ /invoice/) ;
 # / marge calculations ending
 
 # calculate onhand