Another minor fix to export.
This commit is contained in:
@@ -169,9 +169,11 @@
|
|||||||
|
|
||||||
|
|
||||||
(map (comp ->graphql (fn [i]
|
(map (comp ->graphql (fn [i]
|
||||||
(-> i
|
(cond-> i
|
||||||
(update :transaction/date to-date)
|
true (update :transaction/date to-date)
|
||||||
(update :transaction/post-date to-date))))
|
true (update :transaction/post-date to-date)
|
||||||
|
(:transaction/payment i) (update-in [:transaction/payment :payment/date] to-date)
|
||||||
|
)))
|
||||||
transactions)))
|
transactions)))
|
||||||
|
|
||||||
(GET "/transactions/export2" {:keys [query-params identity]}
|
(GET "/transactions/export2" {:keys [query-params identity]}
|
||||||
|
|||||||
Reference in New Issue
Block a user