adds alternative ezcater solution.
This commit is contained in:
@@ -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)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user