Makes balance sheet work correctly

This commit is contained in:
Bryce Covert
2019-04-17 23:10:14 -07:00
parent eea169a74f
commit 1b56d7ff0f
4 changed files with 59 additions and 31 deletions

View File

@@ -86,7 +86,7 @@
:count Integer/MAX_VALUE})
[comparable-results] (l/get-graphql {:client-id (:client_id args)
:date-before (coerce/to-date (time/minus (parse (:date args) iso-date) (time/months 1)))
:date-before (coerce/to-date (time/minus (parse (:date args) iso-date) (time/years 1)))
:count Integer/MAX_VALUE})]
(->graphql
{:balance-sheet-accounts (roll-up results)