filter transaction by vendor
This commit is contained in:
@@ -278,15 +278,6 @@
|
||||
|
||||
(context "/invoices" []
|
||||
(POST "/upload"
|
||||
<<<<<<< HEAD
|
||||
{{ file :file } :params :as params}
|
||||
#_(clojure.pprint/pprint params)
|
||||
(let [{:keys [filename tempfile]} file]
|
||||
(import-uploaded-invoice (parse/parse-file (.getPath tempfile) filename))
|
||||
{:status 200
|
||||
:body (pr-str {})
|
||||
:headers {"Content-Type" "application/edn"}}))
|
||||
=======
|
||||
{{ files "file"} :params :as params}
|
||||
(let [{:keys [filename tempfile]} files]
|
||||
(try
|
||||
@@ -300,7 +291,6 @@
|
||||
:data (ex-data e)})
|
||||
:headers {"Content-Type" "application/edn"}}))
|
||||
))
|
||||
>>>>>>> master
|
||||
(POST "/upload-integreat"
|
||||
{{:keys [excel-rows]} :edn-params user :identity}
|
||||
(assert-admin user)
|
||||
|
||||
Reference in New Issue
Block a user