marks as paid.

This commit is contained in:
Bryce Covert
2018-05-15 09:01:02 -07:00
parent d9994b988c
commit 7b7275f7a4
6 changed files with 39 additions and 20 deletions

View File

@@ -27,7 +27,7 @@
(assoc-in [:status :loading] true)
(assoc-in [::params] params))
:graphql {:token (-> cofx :db :user)
:query-obj (invoice-table/query (assoc params :imported true))
:query-obj (invoice-table/query (assoc params :imported true :status "unpaid"))
:on-success [::received]}}))
(re-frame/reg-event-db