voiding moves an invoices state back
This commit is contained in:
@@ -161,7 +161,8 @@
|
||||
[:td (gstring/format "$%.2f" amount )]
|
||||
[:td status]
|
||||
[:td
|
||||
(when (= "pending" status)
|
||||
(when (or (= "pending" status)
|
||||
(#{"cash" "debit"} type))
|
||||
[:button.button.is-warning.is-outlined {:on-click (dispatch-event [::void-check i])} [:span [:span.icon [:i.fa.fa-minus-circle]]]])
|
||||
(if s3-url
|
||||
[:a.tag {:href s3-url :target "_new"} [:i.fa.fa-money-check] [:span.icon [:i.fa.fa-money]] (str " " check-number " (" (gstring/format "$%.2f" amount ) ")")]
|
||||
|
||||
Reference in New Issue
Block a user