]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/io.pl
Ticket #3 - 2478 Preis bei Erzeugnissen
[mfinanz.git] / bin / mozilla / io.pl
index a2facb5a3c8ecea6434a17cbde61ba0ceb0352db..3028324030a5e50be5de2c4cd773ddbfae4aacbf 100644 (file)
@@ -555,7 +555,10 @@ sub item_selected {
   my $new_item = $form->{item_list}->[0] || croak "No item found for mode '${mode}' and ID '${id}'";
 
   # if there was a price entered, override it
-  my $sellprice = $form->parse_amount(\%myconfig, $form->{"sellprice_$i"});
+  my $sellprice;
+  unless ( $mode eq 'IC' ) {
+    $sellprice = $form->parse_amount(\%myconfig, $form->{"sellprice_$i"});
+  };
 
   my @new_fields =
     qw(id partnumber description sellprice listprice inventory_accno