basic support for pnl

This commit is contained in:
Bryce Covert
2019-04-13 13:36:21 -07:00
parent 53063f47f3
commit e79c0e1575
4 changed files with 237 additions and 7 deletions

View File

@@ -265,6 +265,12 @@
:date {:type 'String}}
:resolve :get-balance-sheet}
:profit_and_loss {:type :balance_sheet
:args {:client_id {:type :id}
:from_date {:type 'String}
:to_date {:type 'String}}
:resolve :get-profit-and-loss}
:invoice_page {:type '(list :invoice_page)
:args {:import_status {:type 'String}
:status {:type 'String}
@@ -638,6 +644,7 @@
:get-transaction-page gq-transactions/get-transaction-page
:get-ledger-page gq-ledger/get-ledger-page
:get-balance-sheet gq-ledger/get-balance-sheet
:get-profit-and-loss gq-ledger/get-profit-and-loss
:get-expense-account-stats get-expense-account-stats
:get-invoice-stats get-invoice-stats