removing print
This commit is contained in:
@@ -339,7 +339,6 @@
|
|||||||
(let [check (d-checks/get-by-id id)]
|
(let [check (d-checks/get-by-id id)]
|
||||||
(assert (or (= :payment-status/pending (:payment/status check))
|
(assert (or (= :payment-status/pending (:payment/status check))
|
||||||
(#{:payment-type/cash :payment-type/debit} (:payment/type check))))
|
(#{:payment-type/cash :payment-type/debit} (:payment/type check))))
|
||||||
(println "VOID CHECK" check)
|
|
||||||
(assert-can-see-client (:id context) (:db/id (:payment/client check)))
|
(assert-can-see-client (:id context) (:db/id (:payment/client check)))
|
||||||
(let [removing-payments (mapcat (fn [x]
|
(let [removing-payments (mapcat (fn [x]
|
||||||
(let [invoice (:invoice-payment/invoice x)
|
(let [invoice (:invoice-payment/invoice x)
|
||||||
|
|||||||
Reference in New Issue
Block a user