From: Sven Schöling Date: Mon, 16 Nov 2009 14:22:38 +0000 (+0100) Subject: is.pl: unnötige parse_amounts X-Git-Tag: release-2.6.1beta1~95 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a2777d1a;p=kivitendo-erp.git is.pl: unnötige parse_amounts Sorgen dafür dass sich creditlimit etc. beim update multipliziert. --- diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index b1aa9f3c5..4b8b8175d 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -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;