switched to graphql to create a payment.

This commit is contained in:
Bryce Covert
2018-05-14 09:30:01 -07:00
parent fd2164e8ba
commit bbd9f00f30
5 changed files with 85 additions and 14 deletions

View File

@@ -9,6 +9,14 @@
[cljs-time.format :as format]
[goog.string :as gstring]))
;; TODO show busy
;; TODO only when one company selected
;; TODO partial payments
;; TODO invoice status = paid when complete
;; TODO performance
;; TODO check numbers
;; TODO psql transactions
;; TODO refactor graphql
@@ -97,4 +105,4 @@
[:td (gstring/format "$%.2f" total )]
[:td (for [check checks]
^{:key (:id check)}
[:a.tag {:href (:s3-url (:check check)) :target "_new"} (str "check " (:check-number (:check check)))])]]))]]]))))
[:a.tag {:href (:s3-url (:check check)) :target "_new"} [:i.fa.fa-money-check] (str " " (:check-number (:check check)) " (" (gstring/format "$%.2f" (:amount check) ) ")")])]]))]]]))))