Bulk coding works on multiple clients

This commit is contained in:
2023-09-14 21:48:00 -07:00
parent 2454695124
commit 12c676629d
6 changed files with 145 additions and 43 deletions

View File

@@ -19,6 +19,7 @@
(defn rough-match [client-id bank-account-id amount]
(if (and client-id bank-account-id amount)
(let [[matching-checks] (d-checks/get-graphql {:client-id client-id
:clients [client-id]
:bank-account-id bank-account-id
:amount (- amount)
:status :payment-status/pending})]
@@ -43,6 +44,7 @@
check-number
(or (-> (d-checks/get-graphql {:client-id client-id
:clients [client-id]
:bank-account-id bank-account-id
:check-number check-number
:amount (- amount)