string trimming for location, since it sometimes has spaces.
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
(map #(if (js/isNaN %) 0 %))))
|
(map #(if (js/isNaN %) 0 %))))
|
||||||
:line-items (map (fn [{:keys [debit credit account-identifier location]}]
|
:line-items (map (fn [{:keys [debit credit account-identifier location]}]
|
||||||
{:account-identifier account-identifier
|
{:account-identifier account-identifier
|
||||||
:location location
|
:location (some-> location str/trim)
|
||||||
:debit debit
|
:debit debit
|
||||||
:credit credit})
|
:credit credit})
|
||||||
lines)}))))
|
lines)}))))
|
||||||
|
|||||||
Reference in New Issue
Block a user