added excel.

This commit is contained in:
Bryce Covert
2017-12-12 09:59:24 -08:00
parent 448749b6b4
commit c8bcf2aa02
5 changed files with 83 additions and 4 deletions

View File

@@ -54,7 +54,7 @@
(println existing-invoices)
(invoices/insert-multi!
(for [{:keys [total date invoice-number customer-identifier vendor] :as row}
(parse/parse-file (.getPath tempfile))]
(parse/parse-file (.getPath tempfile) filename)]
(assoc row
:imported false
:potential-duplicate (boolean (seq (filter #(and (= vendor (:vendor %))