starting to be able to choose invoices

This commit is contained in:
Bryce Covert
2018-05-10 21:08:45 -07:00
parent 798bfae78a
commit 5fb5b2d412
11 changed files with 269 additions and 59 deletions

View File

@@ -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} [] ))