string trimming for location, since it sometimes has spaces.

This commit is contained in:
Bryce Covert
2020-10-17 10:11:34 -07:00
parent 8c746e2100
commit 7603263ba4

View File

@@ -49,7 +49,7 @@
(map #(if (js/isNaN %) 0 %))))
:line-items (map (fn [{:keys [debit credit account-identifier location]}]
{:account-identifier account-identifier
:location location
:location (some-> location str/trim)
:debit debit
:credit credit})
lines)}))))