Revision fe1c4800
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
1207 | 1207 |
|
1208 | 1208 |
my $do_base_qty = $form->parse_amount(\%myconfig, $form->{"qty_$i"}) * $units->{$form->{"unit_$i"}}->{factor} / $base_unit_factor; |
1209 | 1209 |
|
1210 |
if ($do_base_qty != $row_sum_base_qty) { |
|
1211 |
push @{ $form->{ERRORS} }, $locale->text('Error in position #1: You must either assign no stock at all or the full quantity of #2 #3.', |
|
1212 |
$i, $form->{"qty_$i"}, $form->{"unit_$i"}); |
|
1213 |
} |
|
1210 |
# if ($do_base_qty != $row_sum_base_qty) {
|
|
1211 |
# push @{ $form->{ERRORS} }, $locale->text('Error in position #1: You must either assign no stock at all or the full quantity of #2 #3.',
|
|
1212 |
# $i, $form->{"qty_$i"}, $form->{"unit_$i"});
|
|
1213 |
# }
|
|
1214 | 1214 |
} |
1215 | 1215 |
|
1216 | 1216 |
if (@{ $form->{ERRORS} }) { |
... | ... | |
1278 | 1278 |
|
1279 | 1279 |
my $do_base_qty = $form->parse_amount(\%myconfig, $form->{"qty_$i"}) * $units->{$form->{"unit_$i"}}->{factor} / $base_unit_factor; |
1280 | 1280 |
|
1281 |
if ($do_base_qty != $row_sum_base_qty) { |
|
1282 |
push @{ $form->{ERRORS} }, $locale->text('Error in position #1: You must either assign no transfer at all or the full quantity of #2 #3.', |
|
1283 |
$i, $form->{"qty_$i"}, $form->{"unit_$i"}); |
|
1284 |
} |
|
1281 |
# if ($do_base_qty != $row_sum_base_qty) {
|
|
1282 |
# push @{ $form->{ERRORS} }, $locale->text('Error in position #1: You must either assign no transfer at all or the full quantity of #2 #3.',
|
|
1283 |
# $i, $form->{"qty_$i"}, $form->{"unit_$i"});
|
|
1284 |
# }
|
|
1285 | 1285 |
} |
1286 | 1286 |
|
1287 | 1287 |
if (%request_map) { |
Auch abrufbar als: Unified diff
Beliebige Menge auslagerbar machen.
Implementiert nach Bug 1170