added basics of ccp processor visibility.

This commit is contained in:
2021-06-04 23:01:59 -07:00
parent 922c449bb0
commit 002dcfc5ac
7 changed files with 40 additions and 10 deletions

View File

@@ -123,7 +123,7 @@
(defn location_id->client-location [location]
({"2RVBYER6QSV7W" ["NGAK" "MH"]
"8JT71V8XGYAT3" ["NGKG" "NB"]
#_#_#_#_#_#_#_#_#_#_#_#_"8JT71V8XGYAT3" ["NGKG" "NB"]
"SCX0Y8CTGM1S0" ["NGE1" "UC"]
"FNH5VRT890WK8" ["NGMJ" "SC"]
"AMQ0NPA8FGDEF" ["NGPG" "SZ"]
@@ -175,6 +175,11 @@
(remove-nils
#:charge
{:type-name (:type t)
:processor (condp = (:note t)
"DOORDASH" :ccp-processor/doordash
"UBEREATS" :ccp-processor/uber-eats
"GRUBHUB" :ccp-processor/grubhub
:ccp-processor/na)
:total (amount->money (:amount_money t))
:tip (amount->money (:tip_money t))}))))
:line-items (->> (:line_items order)