Making manual import work in datomic
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
(map js/parseFloat)
|
||||
(map #(or % 0))
|
||||
(reduce + 0))
|
||||
does-add-up? (< (Math/abs (- expense-accounts-total (js/parseFloat total))) 0.01)]]
|
||||
does-add-up? (< (Math/abs (- expense-accounts-total (js/parseFloat total))) 0.01)]
|
||||
[action-modal {:id ::change-expense-accounts
|
||||
:title "Change expense accounts"
|
||||
:action-text "Save"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
y))
|
||||
|
||||
(defn paginator [{:keys [start end count total on-change]}]
|
||||
(let [per-page 10
|
||||
(let [per-page 20
|
||||
max-buttons 5
|
||||
buttons-before (Math/floor (/ max-buttons 2))
|
||||
total-pages (Math/ceil (/ total per-page))
|
||||
|
||||
Reference in New Issue
Block a user