Skip to content

Commit

Permalink
Bugfix: Haben-Buchungen wurden nicht von den Aufwänden abgezogen sond…
Browse files Browse the repository at this point in the history
…ern hinzuaddiert
  • Loading branch information
Wolfgang Wiedermann committed Jan 31, 2015
1 parent 5279e91 commit 03d0ddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/query/guv_intramonth_aufwand.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ group by day(b.datum)
union

select
sum(b.betrag) as betrag,
sum(b.betrag) * -1 as betrag,
day(b.datum) as tag
from fi_buchungen as b
inner join fi_konto as k
Expand Down Expand Up @@ -63,7 +63,7 @@ group by day(b.datum)
union

select
sum(b.betrag) as betrag,
sum(b.betrag) * -1 as betrag,
day(b.datum) as tag
from fi_buchungen as b
inner join fi_konto as k
Expand Down

0 comments on commit 03d0ddd

Please sign in to comment.