fixes sysco import.
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
[{:client/location-matches [:location-match/location :location-match/matches]}
|
||||
:client/default-location
|
||||
:client/locations]
|
||||
matching-client)
|
||||
(:db/id matching-client))
|
||||
location-hint
|
||||
location-hint )
|
||||
:date (coerce/to-date date)
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
(defn exact-match
|
||||
([clients invoice-client-name]
|
||||
(->> clients
|
||||
(filter (fn [{:keys [:client/matches :client/name] :as client :or {matches []}}]
|
||||
(filter (fn [{:keys [:client/matches :client/location-matches :client/locations :client/name] :as client :or {matches []}}]
|
||||
(seq
|
||||
(filter (fn [m]
|
||||
(and
|
||||
|
||||
Reference in New Issue
Block a user