Allows credits totalling 0.0

This commit is contained in:
2024-06-07 20:14:11 -07:00
parent 15674bf5be
commit bb9c4cafa9

View File

@@ -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]