switched from auto pay to scheduled payment
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
(-> x
|
||||
(update :invoice/date c/from-date)
|
||||
(update :invoice/due c/from-date)
|
||||
(update :invoice/scheduled-payment c/from-date)
|
||||
(update :invoice/status :db/ident)
|
||||
(rename-keys {:invoice-payment/_invoice :invoice/payments})))
|
||||
|
||||
|
||||
@@ -311,7 +311,12 @@
|
||||
:db/doc "Whether this invoice should be marked as paid when it's due"
|
||||
:db/valueType :db.type/boolean
|
||||
:db/cardinality :db.cardinality/one}]]}
|
||||
:auto-ap/fix-reset-rels {:txes-fn `reset-function}}
|
||||
|
||||
:auto-ap/fix-reset-rels {:txes-fn `reset-function}
|
||||
: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}]]}}
|
||||
sales/norms-map
|
||||
clients/norms-map
|
||||
ledger/norms-map
|
||||
|
||||
Reference in New Issue
Block a user