reminders about scaling.

This commit is contained in:
Bryce Covert
2018-07-26 10:28:48 -07:00
parent 8bb35d70c0
commit 5582d18c4a
3 changed files with 5 additions and 2 deletions

View File

@@ -36,6 +36,7 @@
:left-join [[:invoices :exist] :left-join [[:invoices :exist]
[:and [:and
[:= :exist.invoice-number :v.invoice-number] [:= :exist.invoice-number :v.invoice-number]
[:not= :exist.status "voided"]
[:= :exist.company-id :v.company-id] [:= :exist.company-id :v.company-id]
[:or [:= :exist.vendor-id :v.vendor-id] [:or [:= :exist.vendor-id :v.vendor-id]
[:and [:and

View File

@@ -64,7 +64,7 @@
(if (= (:id c) (:id void-check)) (if (= (:id c) (:id void-check))
(assoc void-check :class "live-removed") (assoc void-check :class "live-removed")
c)) c))
checks)) )))) checks))))))
(re-frame/reg-event-db (re-frame/reg-event-db
::received ::received

View File

@@ -805,6 +805,8 @@
[modal [modal
{:title "Your checks are ready!" {:title "Your checks are ready!"
:hide-event [::close-check-results]} :hide-event [::close-check-results]}
[:div "Click " [:a {:href pdf-url :target "_new"} "here"] " to print them."]]) [:div "Click " [:a {:href pdf-url :target "_new"} "here"] " to print them."]
[:div [:em "Remember to turn off all scaling and margins."]]
])
])) ]))
{:component-will-mount #(re-frame/dispatch-sync [::params-change {}]) })) {:component-will-mount #(re-frame/dispatch-sync [::params-change {}]) }))