You can now see cash flow details
This commit is contained in:
@@ -456,3 +456,11 @@
|
||||
|
||||
(defn action-cell-width [cnt]
|
||||
(str (inc (* cnt 51)) "px"))
|
||||
|
||||
(defn days-until [d]
|
||||
(let [today (t/at-midnight (t/now))
|
||||
d (t/at-midnight d)
|
||||
in (if (t/after? today d)
|
||||
(- (t/in-days (t/interval (t/minus d (t/days 1)) today)))
|
||||
(t/in-days (t/interval today d )))]
|
||||
in))
|
||||
|
||||
Reference in New Issue
Block a user