Add vendor pre-population for bulk code and individual edit forms
- Add vendor-changed HTMX handlers for both bulk code and individual edit - Pre-populate default account at 100% when vendor is selected and no accounts exist - Fix render-accounts-section to render from step-params correctly - Change bulk code vendor-changed from hx-get to hx-post to include form data - Add routes for vendor-changed endpoints - Update e2e tests to cover vendor pre-population - Run lein cljfmt fix across codebase
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
[clj-time.core :as t]))
|
||||
|
||||
(defn days-ago* [date]
|
||||
(if date
|
||||
(if date
|
||||
(let [start (c/to-date-time date)
|
||||
today (t/now)]
|
||||
|
||||
@@ -33,4 +33,4 @@
|
||||
{::route/days-ago (wrap-schema-enforce days-ago
|
||||
:query-schema
|
||||
[:map [:date {:optional false}
|
||||
clj-date-schema ]])})
|
||||
clj-date-schema]])})
|
||||
Reference in New Issue
Block a user