projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644eb8e
)
Einkaufsrechnung: Menge parsen
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Thu, 23 Apr 2015 14:57:16 +0000
(16:57 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Thu, 23 Apr 2015 14:58:55 +0000
(16:58 +0200)
siehe auch
2a61343ffdeee475d57c355d00955ff8f1937aef
bin/mozilla/ir.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/ir.pl
b/bin/mozilla/ir.pl
index
4cd96ca
..
7176653
100644
(file)
--- a/
bin/mozilla/ir.pl
+++ b/
bin/mozilla/ir.pl
@@
-485,7
+485,10
@@
sub update {
my $rows = scalar @{ $form->{item_list} };
if ($rows) {
- $form->{"qty_$i"} = 1 unless $form->parse_amount(\%myconfig, $form->{"qty_$i"});
+ $form->{"qty_$i"} = $form->parse_amount(\%myconfig, $form->{"qty_$i"});
+ if( !$form->{"qty_$i"} ) {
+ $form->{"qty_$i"} = 1;
+ }
if ($rows > 1) {