fix it
This commit is contained in:
parent
d819a836da
commit
40105189f5
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ namespace Schaad.Accounting.Services
|
||||||
var transactions = await viewService.GetTransactionViewListAsync(accountId);
|
var transactions = await viewService.GetTransactionViewListAsync(accountId);
|
||||||
|
|
||||||
return transactions
|
return transactions
|
||||||
|
.Where(t => t.TargetAccountId == accountId)
|
||||||
.GroupBy(t => t.Text)
|
.GroupBy(t => t.Text)
|
||||||
.Select(g => new CategoryTotal(g.Key, g.Sum(t => t.GetValue(account.IsFxAccount, accountId))))
|
.Select(g => new CategoryTotal(g.Key, g.Sum(t => t.GetValue(account.IsFxAccount, accountId))))
|
||||||
.Where(c => c.Value != 0)
|
.Where(c => c.Value != 0)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue