From: Moritz Bunkus Date: Thu, 11 Jan 2007 14:42:50 +0000 (+0000) Subject: Umwandeln in Angebot und Auftrag: prepare_order erwartet, dass die Zahlen bereits... X-Git-Tag: release-2.4.1~1^2~60 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=57fae76ebcb132282f9330d785183594087a93ec;p=kivitendo-erp.git Umwandeln in Angebot und Auftrag: prepare_order erwartet, dass die Zahlen bereits geparst sind. --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 1add7b354..c7d0aa37e 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1171,6 +1171,13 @@ sub order { \%myconfig, $form->{currency}, $form->{transdate}, $buysell ))); + for $i (1 .. $form->{rowcount}) { + map({ $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, + $form->{"${_}_${i}"}) + if ($form->{"${_}_${i}"}) } + qw(ship qty sellprice listprice basefactor)); + } + &prepare_order; &display_form; @@ -1224,6 +1231,13 @@ sub quotation { \%myconfig, $form->{currency}, $form->{transdate}, $buysell ))); + for $i (1 .. $form->{rowcount}) { + map({ $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, + $form->{"${_}_${i}"}) + if ($form->{"${_}_${i}"}) } + qw(ship qty sellprice listprice basefactor)); + } + &prepare_order; &display_form;