parses account number.

This commit is contained in:
2022-01-13 15:25:49 -08:00
parent 8a38030b36
commit 2245a5f082

View File

@@ -6,7 +6,6 @@
[auto-ap.datomic.invoices :refer [code-invoice]]
[auto-ap.parse :as parse]
[auto-ap.time :as t]
[auto-ap.utils :refer [by]]
[clj-time.coerce :as coerce]
[clojure.data.csv :as csv]
[clojure.java.io :as io]
@@ -66,6 +65,7 @@
(header-row "City1")
(header-row "City2")])
account-number (some-> account-number Long/parseLong str)
matching-client (and account-number
(parse/best-match clients account-number 0.0))
_ (when-not matching-client