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))
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
(assoc-in [::params] params))
|
||||
:graphql {:token (-> cofx :db :user)
|
||||
:query-obj {:venia/queries [[:transaction_page
|
||||
(assoc params :company-id (:id @(re-frame/subscribe [::subs/company])))
|
||||
(assoc params :client-id (:id @(re-frame/subscribe [::subs/company])))
|
||||
[[:transactions [:id
|
||||
:amount
|
||||
:date
|
||||
|
||||
Reference in New Issue
Block a user