Revision 2a61343f
Von Thomas Heck vor mehr als 11 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
396 | 396 |
my $rows = scalar @{ $form->{item_list} }; |
397 | 397 |
|
398 | 398 |
if ($rows) { |
399 |
$form->{"qty_$i"} = 1 unless $form->parse_amount(\%myconfig, $form->{"qty_$i"}); |
|
399 |
$form->{"qty_$i"} = $form->parse_amount(\%myconfig, $form->{"qty_$i"}); |
|
400 |
if( !$form->{"qty_$i"} ) { |
|
401 |
$form->{"qty_$i"} = 1; |
|
402 |
} |
|
400 | 403 |
|
401 | 404 |
if ($rows > 1) { |
402 | 405 |
|
bin/mozilla/is.pl | ||
---|---|---|
547 | 547 |
} |
548 | 548 |
|
549 | 549 |
if ($rows) { |
550 |
$form->{"qty_$i"} = ($form->{"qty_$i"} * 1) ? $form->{"qty_$i"} : 1; |
|
550 |
$form->{"qty_$i"} = $form->parse_amount(\%myconfig, $form->{"qty_$i"}); |
|
551 |
if( !$form->{"qty_$i"} ) { |
|
552 |
$form->{"qty_$i"} = 1; |
|
553 |
} |
|
551 | 554 |
|
552 | 555 |
if ($rows > 1) { |
553 | 556 |
|
bin/mozilla/oe.pl | ||
---|---|---|
597 | 597 |
$form->{"lastcost_$i"} = $form->parse_amount(\%myconfig, $form->{"lastcost_$i"}); |
598 | 598 |
|
599 | 599 |
if ($rows) { |
600 |
$form->{"qty_$i"} = 1 unless ($form->parse_amount(\%myconfig, $form->{"qty_$i"})); |
|
600 |
|
|
601 |
$form->{"qty_$i"} = $form->parse_amount(\%myconfig, $form->{"qty_$i"}); |
|
602 |
if( !$form->{"qty_$i"} ) { |
|
603 |
$form->{"qty_$i"} = 1; |
|
604 |
} |
|
601 | 605 |
|
602 | 606 |
if ($rows > 1) { |
603 | 607 |
|
Auch abrufbar als: Unified diff
Menge mit Nachkommastellen einlesen
fixt #2307