string trimming for location, since it sometimes has spaces.
This commit is contained in:
@@ -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)}))))
|
||||
|
||||
Reference in New Issue
Block a user