profit and loss changes for more than one client.

This commit is contained in:
2021-10-22 07:02:10 -07:00
parent 2d52c2b6a7
commit 16c0e679bc
3 changed files with 305 additions and 239 deletions

View File

@@ -1,6 +1,6 @@
(ns auto-ap.views.components.switch-field)
(defn switch-field [{:keys [id label on-change checked]}]
(defn switch-field [{:keys [id label on-change checked class]}]
[:<>
[:input.switch {:type "checkbox" :id id :on-change on-change :checked checked}]
[:input.switch {:type "checkbox" :id id :on-change on-change :checked checked :class class}]
[:label {:for id} label]])