starting to be able to choose invoices
This commit is contained in:
@@ -51,6 +51,10 @@
|
||||
(defn get-all []
|
||||
(query base-query))
|
||||
|
||||
(defn get-multi [ids]
|
||||
(query (-> base-query
|
||||
(helpers/merge-where [:in :id ids]))))
|
||||
|
||||
(defn approve []
|
||||
(j/update! (get-conn) :invoices {:imported true} [] ))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user