From: Sven Schöling Date: Fri, 5 Mar 2010 12:43:51 +0000 (+0100) Subject: Beliebige Menge auslagerbar machen. X-Git-Tag: release-2.6.1beta1~17^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=fe1c480088bea771423891bc5f5b4d45f7fed67c;p=kivitendo-erp.git Beliebige Menge auslagerbar machen. Implementiert nach Bug 1170 --- diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 692a4595a..4ae7f4551 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -1207,10 +1207,10 @@ sub transfer_in { my $do_base_qty = $form->parse_amount(\%myconfig, $form->{"qty_$i"}) * $units->{$form->{"unit_$i"}}->{factor} / $base_unit_factor; - if ($do_base_qty != $row_sum_base_qty) { - push @{ $form->{ERRORS} }, $locale->text('Error in position #1: You must either assign no stock at all or the full quantity of #2 #3.', - $i, $form->{"qty_$i"}, $form->{"unit_$i"}); - } +# if ($do_base_qty != $row_sum_base_qty) { +# push @{ $form->{ERRORS} }, $locale->text('Error in position #1: You must either assign no stock at all or the full quantity of #2 #3.', +# $i, $form->{"qty_$i"}, $form->{"unit_$i"}); +# } } if (@{ $form->{ERRORS} }) { @@ -1278,10 +1278,10 @@ sub transfer_out { my $do_base_qty = $form->parse_amount(\%myconfig, $form->{"qty_$i"}) * $units->{$form->{"unit_$i"}}->{factor} / $base_unit_factor; - if ($do_base_qty != $row_sum_base_qty) { - push @{ $form->{ERRORS} }, $locale->text('Error in position #1: You must either assign no transfer at all or the full quantity of #2 #3.', - $i, $form->{"qty_$i"}, $form->{"unit_$i"}); - } +# if ($do_base_qty != $row_sum_base_qty) { +# push @{ $form->{ERRORS} }, $locale->text('Error in position #1: You must either assign no transfer at all or the full quantity of #2 #3.', +# $i, $form->{"qty_$i"}, $form->{"unit_$i"}); +# } } if (%request_map) {