test.
This commit is contained in:
@@ -512,7 +512,8 @@
|
||||
c (d/pull (d/db conn) '[:client/locations] client-id) ]
|
||||
location (:client/locations c)
|
||||
category (:categories input)
|
||||
:let [all-journal-entries (->> (get-ledger-page context
|
||||
:let [category (<-graphql category)
|
||||
all-journal-entries (->> (get-ledger-page context
|
||||
{:filters {:client_id client-id
|
||||
:location location
|
||||
:date_range (:date_range input)
|
||||
@@ -550,7 +551,7 @@
|
||||
[(conj acc next-je) next-je]))
|
||||
[]
|
||||
(sort-by :date journal-entries)))]]
|
||||
{:category category
|
||||
{:category (->graphql category)
|
||||
:client_id client-id
|
||||
:location location
|
||||
:account (or account
|
||||
@@ -753,7 +754,10 @@
|
||||
(def enums
|
||||
{:ledger_category {:values [{:enum-value :sales}
|
||||
{:enum-value :cogs}
|
||||
{:enum-value :payroll}]}})
|
||||
{:enum-value :payroll}
|
||||
{:enum-value :controllable}
|
||||
{:enum-value :fixed_overhead}
|
||||
{:enum-value :ownership_controllable}]}})
|
||||
|
||||
|
||||
(def resolvers
|
||||
|
||||
Reference in New Issue
Block a user