From c97b1605838cff7bda6eca3ed36266f140ae233e Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Tue, 5 Oct 2021 15:46:25 -0700 Subject: [PATCH] Added new locations --- config/prod-background-worker.edn | 8 ++++++++ src/clj/user.clj | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config/prod-background-worker.edn b/config/prod-background-worker.edn index f757c3a8..f5a15ad3 100644 --- a/config/prod-background-worker.edn +++ b/config/prod-background-worker.edn @@ -107,6 +107,14 @@ {:square-location "LT322EK0S2TRD", :location "FM", :token "EAAAEO2xSqesDutZz71hz3eulKmrlKTiEqG3uZ4j25x5GYlOluQ2cj2JxNUXqXD7"} + "NGCD" + {:square-location "L43Z5GMW72VMG", + :location "CD", + :token "EAAAEO2xSqesDutZz71hz3eulKmrlKTiEqG3uZ4j25x5GYlOluQ2cj2JxNUXqXD7"} + "NGSC" + {:square-location "FNH5VRT890WK8", + :location "SC", + :token "EAAAEO2xSqesDutZz71hz3eulKmrlKTiEqG3uZ4j25x5GYlOluQ2cj2JxNUXqXD7"} "20TY" {:square-location "L2579ATQ0X1ET", :location "WG", diff --git a/src/clj/user.clj b/src/clj/user.clj index dfc8d293..1b667bc5 100644 --- a/src/clj/user.clj +++ b/src/clj/user.clj @@ -502,7 +502,7 @@ [?s :sales-order/date ?d] [?s :sales-order/line-items ?li] [?li :order-line-item/category ?n] - [(get-else $ ?li :order-line-item/item-name "") ?n2] + [(get-else $ ?li :order-line-item/item-name \"\") ?n2] [?li :order-line-item/total ?total] [?li :order-line-item/tax ?tax] [?li :order-line-item/discount ?discount]