now invoices are by vendor and company

This commit is contained in:
Bryce Covert
2018-04-10 07:25:35 -07:00
parent 39fa8a8032
commit 03f3df8643
10 changed files with 36 additions and 16 deletions

View File

@@ -22,7 +22,7 @@
(fn [result k v]
(assoc result k (some-> (first (map second (re-seq v text)))
str/trim )))
{:vendor (:vendor template)}))]))
{:vendor-code (:vendor template)}))]))
(defn parse [text]
(->> t/pdf-templates