Filtering out koala

This commit is contained in:
Bryce Covert
2021-10-08 16:18:31 -07:00
parent 6dd801d710
commit 4a405714c1
3 changed files with 22 additions and 3 deletions

View File

@@ -221,6 +221,8 @@
(seq (:returns order)))
(not= #{"FAILED"}
(set (map #(:status (:card_details %)) (:tenders order)))))))
(filter (fn [order]
(not= "Koala" (:name (:source order)))))
(map #(order->sales-order client (get-in env [:square-config client :location]) %)))))
#_(daily-results)