Added the ability to import invoices again
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
(assoc-in [:status :loading] true)
|
||||
(assoc-in [::params] params))
|
||||
:graphql {:token (-> cofx :db :user)
|
||||
:query-obj (invoice-table/query (-> params (assoc :imported true) (dissoc :invoice-number-like-current)) )
|
||||
:query-obj (invoice-table/query (-> params (assoc :import-status "imported") (dissoc :invoice-number-like-current)) )
|
||||
:on-success [::received]}}))
|
||||
(re-frame/reg-event-db
|
||||
::unmount-invoices
|
||||
|
||||
Reference in New Issue
Block a user