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:
e0c7677
)
Merge von 606 aus unstable: BWA Bug
author
Stephan Köhler
<s.koehler@linet-services.de>
Sat, 26 Nov 2005 12:10:40 +0000
(12:10 +0000)
committer
Stephan Köhler
<s.koehler@linet-services.de>
Sat, 26 Nov 2005 12:10:40 +0000
(12:10 +0000)
Fehler bei der Berechnung der Summen in der BWA
SL/RP.pm
patch
|
blob
|
history
diff --git
a/SL/RP.pm
b/SL/RP.pm
index
7bd324b
..
89a11b3
100644
(file)
--- a/
SL/RP.pm
+++ b/
SL/RP.pm
@@
-2343,6
+2343,10
@@
sub bwa {
foreach $key (@periods) {
$form->{ "$key" . "gesamtleistung" } = 0;
$form->{ "$key" . "gesamtkosten" } = 0;
+ foreach $kosten (@gesamtkosten) {
+ $form->{$kosten}{$key} *= -1;
+ }
+ $form->{4}{$key} *= -1;
foreach $category (@categories) {
@@
-2357,6
+2361,7
@@
sub bwa {
$form->{ "$key" . "gesamtleistung" } += $form->{$item}{$key};
}
foreach $item (@gesamtkosten) {
+ $form->{$item}{$key} *= -1;
$form->{ "$key" . "gesamtkosten" } += $form->{$item}{$key};
}
$form->{ "$key" . "rohertrag" } =