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:
b8008d6
)
Rabatt wurde fehlerhaft uebernommen beim Umwandeln von Angebot in Auftrag. Fixes...
author
Philip Reetz
<p.reetz@linet-services.de>
Wed, 25 Jan 2006 07:28:03 +0000
(07:28 +0000)
committer
Philip Reetz
<p.reetz@linet-services.de>
Wed, 25 Jan 2006 07:28:03 +0000
(07:28 +0000)
bin/mozilla/oe.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/oe.pl
b/bin/mozilla/oe.pl
index
e05d013
..
b16352f
100644
(file)
--- a/
bin/mozilla/oe.pl
+++ b/
bin/mozilla/oe.pl
@@
-231,9
+231,10
@@
sub prepare_order {
}
for my $i (1 .. $form->{rowcount}) {
- $form->{"discount_$i"} =
- $form->format_amount(\%myconfig, $form->{"discount_$i"} * 100);
-
+ if ($form->{id}) {
+ $form->{"discount_$i"} =
+ $form->format_amount(\%myconfig, $form->{"discount_$i"} * 100);
+ }
($dec) = ($form->{"sellprice_$i"} =~ /\.(\d+)/);
$dec = length $dec;
$decimalplaces = ($dec > 2) ? $dec : 2;