merged.
This commit is contained in:
@@ -202,7 +202,7 @@
|
|||||||
"Status"]
|
"Status"]
|
||||||
|
|
||||||
|
|
||||||
[:th {:style {:width "10em"}} "" ]]]
|
[:th {:style {:width "8em"}} "" ]]]
|
||||||
[:tbody
|
[:tbody
|
||||||
(if (:loading @status)
|
(if (:loading @status)
|
||||||
[:tr
|
[:tr
|
||||||
@@ -219,7 +219,10 @@
|
|||||||
[:td (cond
|
[:td (cond
|
||||||
(= :cash type) "Cash"
|
(= :cash type) "Cash"
|
||||||
(= :debit type) "Debit"
|
(= :debit type) "Debit"
|
||||||
:else check-number)]
|
:else (if s3-url
|
||||||
|
[:a {:href s3-url :target "_new"} [:a.button [:span.icon [:i.fa.fa-share-square-o]]
|
||||||
|
[:span (str " " check-number )]]]
|
||||||
|
check-number))]
|
||||||
[:td (date->str date) ]
|
[:td (date->str date) ]
|
||||||
[:td.has-text-right (nf amount )]
|
[:td.has-text-right (nf amount )]
|
||||||
[:td status]
|
[:td status]
|
||||||
@@ -227,12 +230,7 @@
|
|||||||
(when (or (= :pending status)
|
(when (or (= :pending status)
|
||||||
(and (#{":cash" :cash} type)
|
(and (#{":cash" :cash} type)
|
||||||
(not= :voided status)))
|
(not= :voided status)))
|
||||||
[:button.button.is-warning.is-outlined {:on-click (dispatch-event [::void-check i])} [:span [:span.icon [:i.fa.fa-minus-circle]]]])
|
[:button.button.is-warning.is-outlined {:on-click (dispatch-event [::void-check i])} [:span [:span.icon [:i.fa.fa-minus-circle]]]])]]))]]]))))
|
||||||
(if s3-url
|
|
||||||
[:a.tag {:href s3-url :target "_new"} [:i.fa.fa-money-check] [:span.icon [:i.fa.fa-money]] (str " " check-number " (" (gstring/format "$%.2f" amount ) ")")]
|
|
||||||
[:span.tag [:i.fa.fa-money-check] [:span.icon [:i.fa.fa-money]] (str " " check-number " (" (gstring/format "$%.2f" amount ) ")")])
|
|
||||||
]
|
|
||||||
]))]]]))))
|
|
||||||
|
|
||||||
|
|
||||||
(def checks-content
|
(def checks-content
|
||||||
|
|||||||
@@ -631,7 +631,8 @@
|
|||||||
")"))
|
")"))
|
||||||
[:span " "]
|
[:span " "]
|
||||||
[:span.icon.is-small [:i.fa.fa-angle-down {:aria-hidden "true"}]]]
|
[:span.icon.is-small [:i.fa.fa-angle-down {:aria-hidden "true"}]]]
|
||||||
:id ::print-checks}
|
:id ::print-checks
|
||||||
|
:is-right? true}
|
||||||
[:div
|
[:div
|
||||||
(list
|
(list
|
||||||
(for [{:keys [id number name type]} (->> (:bank-accounts current-client) (filter :visible) (sort-by :sort-order))]
|
(for [{:keys [id number name type]} (->> (:bank-accounts current-client) (filter :visible) (sort-by :sort-order))]
|
||||||
|
|||||||
Reference in New Issue
Block a user