allows voids.

This commit is contained in:
2022-06-03 13:10:47 -07:00
parent 9dbc14977e
commit a8fb649dd6
2 changed files with 3 additions and 2 deletions

View File

@@ -95,7 +95,8 @@
(url/map->query {:exact-match-id (:id transaction)}))}]]])]]]]])
[:span {:style {:margin-left "1em"}}]
(when (and (not= :cleared status)
(when (and (or (not= :cleared status)
(= :balance-credit type))
(not= :voided status)
(not transaction))