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