From bb9c4cafa91d8c3ede99ef653525eeea46224a81 Mon Sep 17 00:00:00 2001 From: Bryce Date: Fri, 7 Jun 2024 20:14:11 -0700 Subject: [PATCH] Allows credits totalling 0.0 --- src/clj/auto_ap/ssr/invoices.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/ssr/invoices.clj b/src/clj/auto_ap/ssr/invoices.clj index 5d98c077..ed0661a9 100644 --- a/src/clj/auto_ap/ssr/invoices.clj +++ b/src/clj/auto_ap/ssr/invoices.clj @@ -895,7 +895,7 @@ (map (fn [is] (alog/peek ::invoices is) (reduce + 0.0 (map :invoice/outstanding-balance is)))) - (every? #(< % 0.0)))) + (every? #(<= % 0.0)))) (defrecord ChoosePaymentMethodModal [linear-wizard]