adds alternative ezcater solution.

This commit is contained in:
2023-05-05 15:10:39 -07:00
parent 5d0bf6a8d8
commit c52444499f
11 changed files with 410 additions and 14 deletions

View File

@@ -127,7 +127,10 @@
(filter (fn [{:keys [:client/matches :client/name] :as client :or {matches []}}]
(seq
(filter (fn [m]
(= (.toLowerCase invoice-client-name) (.toLowerCase m)))
(and
m
invoice-client-name
(= (.toLowerCase invoice-client-name) (.toLowerCase m))))
(conj matches name)))))
first)))