excluding some stuff from PNL
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
:serialize (schema/as-conformer #(.toString %))}
|
||||
:ident {:parse (schema/as-conformer (fn [x] {:db/ident x}))
|
||||
:serialize (schema/as-conformer #(or (:ident %) (:db/ident %) %))}
|
||||
:iso_date {:parse (schema/as-conformer #(coerce/to-date-time %))
|
||||
:iso_date {:parse (schema/as-conformer #(time/parse % time/iso-date))
|
||||
:serialize (schema/as-conformer #(time/unparse % time/iso-date))}}
|
||||
:objects
|
||||
{
|
||||
@@ -284,13 +284,13 @@
|
||||
:resolve :get-potential-payments}
|
||||
:balance_sheet {:type :balance_sheet
|
||||
:args {:client_id {:type :id}
|
||||
:date {:type 'String}}
|
||||
:date {:type :iso_date}}
|
||||
:resolve :get-balance-sheet}
|
||||
|
||||
:profit_and_loss {:type :balance_sheet
|
||||
:args {:client_id {:type :id}
|
||||
:from_date {:type 'String}
|
||||
:to_date {:type 'String}}
|
||||
:from_date {:type :iso_date}
|
||||
:to_date {:type :iso_date}}
|
||||
:resolve :get-profit-and-loss}
|
||||
|
||||
:invoice_page {:type '(list :invoice_page)
|
||||
|
||||
Reference in New Issue
Block a user