rebrand.
This commit is contained in:
@@ -89,10 +89,13 @@
|
||||
{:token (-> db :user)
|
||||
:owns-state {:single ::print-checks}
|
||||
|
||||
:query-obj (print-checks-query (map (fn [{:keys [id outstanding-balance] }]
|
||||
{:invoice-id id
|
||||
:amount outstanding-balance})
|
||||
(vals @(re-frame/subscribe [::data-page/checked :invoices])))
|
||||
:query-obj (print-checks-query (->> @(re-frame/subscribe [::data-page/checked :invoices])
|
||||
(vals )
|
||||
(filter (fn [{:keys [id outstanding-balance] }]
|
||||
(and id outstanding-balance)))
|
||||
(map (fn [{:keys [id outstanding-balance] }]
|
||||
{:invoice-id id
|
||||
:amount outstanding-balance})))
|
||||
bank-account-id
|
||||
type
|
||||
(:client db))
|
||||
@@ -132,9 +135,9 @@
|
||||
[:div
|
||||
[:div.is-pulled-right
|
||||
[:div.buttons
|
||||
[:button.button.is-success {:on-click (dispatch-event [::new-invoice-clicked])} "New Invoice"]
|
||||
[:button.button.is-outlined.is-primary {:on-click (dispatch-event [::new-invoice-clicked])} "New Invoice"]
|
||||
(when current-client
|
||||
[drop-down {:header [:button.button.is-success {:aria-haspopup true
|
||||
[drop-down {:header [:button.button.is-primary {:aria-haspopup true
|
||||
:on-click (dispatch-event [::events/toggle-menu ::print-checks ])
|
||||
:disabled (if (and (seq checked-invoices))
|
||||
""
|
||||
|
||||
Reference in New Issue
Block a user