Makes it so that voiding cash payments is possible
This commit is contained in:
@@ -218,8 +218,7 @@
|
||||
{:keys [total]} @(re-frame/subscribe [::data-page/data :invoices])
|
||||
]
|
||||
[:div.buttons
|
||||
(when (and (= :unpaid status)
|
||||
is-admin?)
|
||||
(when is-admin?
|
||||
[void-selected-button])
|
||||
|
||||
[buttons/new-button {:event [::new-invoice-clicked]
|
||||
|
||||
Reference in New Issue
Block a user