diff --git a/src/cljs/auto_ap/views/pages/invoices/form.cljs b/src/cljs/auto_ap/views/pages/invoices/form.cljs index 67ad4015..7f94743f 100644 --- a/src/cljs/auto_ap/views/pages/invoices/form.cljs +++ b/src/cljs/auto_ap/views/pages/invoices/form.cljs @@ -53,7 +53,7 @@ :vendor-id (:id vendor) :client-id (:id client) :scheduled-payment scheduled-payment - :invoice-number invoice-number + :invoice-number (some-> invoice-number str/trim) :location location :total total :expense-accounts (map (fn [ea]