fixes a couple loading issues, starts on report rendering.
This commit is contained in:
@@ -382,7 +382,8 @@
|
||||
:hx-get (bidi/path-for ssr-routes/only-routes
|
||||
::route/pay-wizard)
|
||||
:hx-trigger "click from:#pay-button"
|
||||
:x-popper (hx/json {:source "$refs.button", :tooltip "$refs.tooltip"}) }
|
||||
:x-data "popper()"
|
||||
}
|
||||
(com/button {:color :primary
|
||||
:id "pay-button"
|
||||
:disabled (or (= (count (:ids params)) 0)
|
||||
@@ -393,7 +394,7 @@
|
||||
:hx-get (bidi/path-for ssr-routes/only-routes ::route/pay-button)
|
||||
:hx-swap "outerHTML"
|
||||
:hx-trigger "selectedChanged from:body, htmx:afterSwap from:#entity-table"
|
||||
:x-ref "button"
|
||||
:x-ref "source"
|
||||
:minimal-loading? true
|
||||
:class "relative"}
|
||||
(if (> (count ids) 0)
|
||||
@@ -405,7 +406,7 @@
|
||||
(when (or (= 0 (count ids))
|
||||
(> selected-client-count 1))
|
||||
(com/badge {} "!")))
|
||||
(com/tooltip {:x-ref "tooltip" }
|
||||
(com/tooltip {:x-bind "tooltip" }
|
||||
(cond
|
||||
(not all-credits-or-debits)
|
||||
[:div "All vendor totals must be either positive or negative."]
|
||||
|
||||
Reference in New Issue
Block a user