minor tweak for vendor total
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
|
||||
(defn lookup-invoice-total-data [request]
|
||||
(let [start (:start-date (:query-params request) (time/plus (time/now) (time/days -30)))
|
||||
end (:start-date (:query-params request) (time/now))
|
||||
end (:end-date (:query-params request) (time/now))
|
||||
query (cond-> {:query '{:find [?cn ?vn (sum ?t)]
|
||||
:with [ ?e]
|
||||
:in [$ [?clients ?start ?end]]
|
||||
|
||||
Reference in New Issue
Block a user