added ability to schedule payment on DOM
This commit is contained in:
@@ -316,7 +316,21 @@
|
||||
:auto-ap/add-scheduled-payment {:txes [[{:db/ident :invoice/scheduled-payment
|
||||
:db/doc "When an invoice gets marked as paid"
|
||||
:db/valueType :db.type/instant
|
||||
:db/cardinality :db.cardinality/one}]]}}
|
||||
:db/cardinality :db.cardinality/one}]]}
|
||||
:auto-ap/add-scheduled-payment-dom {:txes [[{:db/ident :vendor/schedule-payment-dom
|
||||
:db/doc "When an invoice gets marked as paid"
|
||||
:db/valueType :db.type/ref
|
||||
:db/cardinality :db.cardinality/many
|
||||
:db/isComponent true}
|
||||
{:db/ident :vendor-schedule-payment-dom/client
|
||||
:db/doc "Which client the override is for"
|
||||
:db/valueType :db.type/ref
|
||||
:db/cardinality :db.cardinality/one}
|
||||
{:db/ident :vendor-schedule-payment-dom/dom
|
||||
:db/doc "What day of the month"
|
||||
:db/valueType :db.type/long
|
||||
:db/cardinality :db.cardinality/one}]]}}
|
||||
|
||||
sales/norms-map
|
||||
clients/norms-map
|
||||
ledger/norms-map
|
||||
@@ -331,8 +345,7 @@
|
||||
(defn -main [& args]
|
||||
(mount/start (mount/only #{#'conn}))
|
||||
(migrate conn)
|
||||
(mount/stop)
|
||||
)
|
||||
(mount/stop))
|
||||
|
||||
|
||||
(mount/defstate migrate-start
|
||||
|
||||
Reference in New Issue
Block a user