made the invoice form work like the other one.
This commit is contained in:
@@ -281,7 +281,7 @@
|
||||
(re-frame/reg-event-fx
|
||||
::new-invoice-clicked
|
||||
(fn [{:keys [db]} _]
|
||||
{:dispatch [::form/adding {:client-id (:id @(re-frame/subscribe [::subs/client]))
|
||||
{:dispatch [::form/adding {:client @(re-frame/subscribe [::subs/client])
|
||||
:status :unpaid
|
||||
#_#_:date (date->str (c/now) standard)
|
||||
:location (first (:locations @(re-frame/subscribe [::subs/client])))}]}))
|
||||
|
||||
Reference in New Issue
Block a user