is.pl: unnötige parse_amounts
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 16 Nov 2009 14:22:38 +0000 (15:22 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 16 Nov 2009 14:22:38 +0000 (15:22 +0100)
Sorgen dafür dass sich creditlimit etc. beim update multipliziert.

bin/mozilla/is.pl

index b1aa9f3..4b8b817 100644 (file)
@@ -455,7 +455,7 @@ sub update {
 
   my ($recursive_call) = shift;
 
-  map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(exchangerate creditlimit creditremaining) unless $recursive_call;
+#  map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(exchangerate creditlimit creditremaining) unless $recursive_call;
 
   $form->{print_and_post} = 0         if $form->{second_run};
   my $taxincluded            = "checked" if $form->{taxincluded};
@@ -876,8 +876,8 @@ sub credit_note {
 
   map { $form->{"select$_"} = "" } ($form->{vc}, 'currency');
 
-  map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) }
-    qw(creditlimit creditremaining);
+#  map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) }
+#    qw(creditlimit creditremaining);
 
   my $currency = $form->{currency};
   &invoice_links;