del monte meat co

This commit is contained in:
Bryce Covert
2020-04-17 21:09:30 -07:00
parent cd5dd2d1fe
commit 655cfe7067
2 changed files with 12 additions and 1 deletions

View File

@@ -91,7 +91,7 @@
(sort-by second)
ffirst)
word-set (set (str/split (.toLowerCase invoice-client-name) #"[\s:]" ))
word-set (set (filter (complement str/blank?) (str/split (.toLowerCase invoice-client-name) #"[\s:\-]" )))
client-word-match (->> clients
(map
(fn [{:keys [:db/id :client/matches :client/name] :as client :or {matches []}}]