a number of small bug fixes.
This commit is contained in:
@@ -413,8 +413,8 @@
|
||||
(map ->graphql ))
|
||||
:total checks-count
|
||||
:count (count payments)
|
||||
:start (:start args 0)
|
||||
:end (+ (:start args 0) (count payments))}]))
|
||||
:start (-> args :filters (:start 0) )
|
||||
:end (+ (-> args :filters (:start 0) ) (count payments))}]))
|
||||
|
||||
(defn get-potential-payments [context args _]
|
||||
(let [transaction (d-transactions/get-by-id (:transaction_id args))
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
:total_amount total-amount
|
||||
:total invoice-count
|
||||
:count (count invoices)
|
||||
:start (:start args 0)
|
||||
:end (+ (:start args 0) (count invoices))}]))
|
||||
:start (-> args :filters (:start 0))
|
||||
:end (+ (-> args :filters (:start 0)) (count invoices))}]))
|
||||
|
||||
(defn get-all-invoices [context args _]
|
||||
(assert-admin (:id context))
|
||||
|
||||
Reference in New Issue
Block a user