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:
45cd4d0
)
Anpassung Erfolgsrechnung
author
Rolf Fluehmann
<rolf.fluehmann@revamp-it.ch>
Wed, 5 Apr 2017 11:01:41 +0000
(13:01 +0200)
committer
Rolf Fluehmann
<rolf.fluehmann@revamp-it.ch>
Wed, 5 Apr 2017 11:01:41 +0000
(13:01 +0200)
SL/RP.pm
patch
|
blob
|
history
diff --git
a/SL/RP.pm
b/SL/RP.pm
index
479d850
..
e27ae4e
100644
(file)
--- a/
SL/RP.pm
+++ b/
SL/RP.pm
@@
-1875,7
+1875,7
@@
sub erfolgsrechnung {
accounts => get_accounts_ch($category),
);
foreach my $account (@{$category{accounts}}) {
- $account->{total} +=
($account->{category} eq $category ? 1 : -1) *
get_total_ch($account->{id}, $fromdate, $todate);
+ $account->{total} += get_total_ch($account->{id}, $fromdate, $todate);
$category{total} += $account->{total};
$account->{total} = $form->format_amount($myconfig, $form->parse_amount($myconfig, $account->{total}), 2);
}