bug fixes.
This commit is contained in:
@@ -184,13 +184,17 @@
|
||||
:not-ready
|
||||
|
||||
(and (:bank-account/start-date bank-account)
|
||||
(not (t/after? (coerce/to-date-time (:transaction/date transaction))
|
||||
(-> bank-account :bank-account/start-date coerce/to-date-time))))
|
||||
(and (not (t/after? (coerce/to-date-time (:transaction/date transaction))
|
||||
(-> bank-account :bank-account/start-date coerce/to-date-time)))
|
||||
(not (t/equal? (coerce/to-date-time (:transaction/date transaction))
|
||||
(-> bank-account :bank-account/start-date coerce/to-date-time)))))
|
||||
:not-ready
|
||||
|
||||
(and (:client/locked-until (:client/_bank-accounts bank-account))
|
||||
(not (t/after? (coerce/to-date-time (:transaction/date transaction))
|
||||
(coerce/to-date-time (:client/locked-until (:client/_bank-accounts bank-account))))))
|
||||
(and (not (t/after? (coerce/to-date-time (:transaction/date transaction))
|
||||
(coerce/to-date-time (:client/locked-until (:client/_bank-accounts bank-account)))))
|
||||
(not (t/equal? (coerce/to-date-time (:transaction/date transaction))
|
||||
(coerce/to-date-time (:client/locked-until (:client/_bank-accounts bank-account)))))))
|
||||
:not-ready
|
||||
|
||||
:else
|
||||
|
||||
Reference in New Issue
Block a user