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:
@@ -1,7 +1,6 @@
|
||||
(ns auto-ap.logging
|
||||
(:require [com.brunobonacci.mulog :as mu]))
|
||||
|
||||
|
||||
(defmacro with-context-as [ctx s & body]
|
||||
`(mu/with-context ~ctx
|
||||
(let [~s (mu/local-context)]
|
||||
@@ -12,13 +11,13 @@
|
||||
~@body))
|
||||
|
||||
(defmacro info [x & kvs]
|
||||
`(mu/log ~x :status "INFO" ~@kvs ))
|
||||
`(mu/log ~x :status "INFO" ~@kvs))
|
||||
|
||||
(defmacro warn [x & kvs]
|
||||
`(mu/log ~x :status "WARN" ~@kvs ))
|
||||
`(mu/log ~x :status "WARN" ~@kvs))
|
||||
|
||||
(defmacro error [x & kvs]
|
||||
`(mu/log ~x :status "ERROR" ~@kvs ))
|
||||
`(mu/log ~x :status "ERROR" ~@kvs))
|
||||
|
||||
(defn peek
|
||||
([x]
|
||||
|
||||
Reference in New Issue
Block a user