trims commas

This commit is contained in:
2024-06-17 10:39:49 -07:00
parent 0e2b8f7a68
commit 7ad017cbce

View File

@@ -19,7 +19,8 @@
:customer-identifier #"(.*?)(?:\s+)Invoice #" :customer-identifier #"(.*?)(?:\s+)Invoice #"
:date #"Invoice Date\s{2,}([0-9]+/[0-9]+/[0-9]+)" :date #"Invoice Date\s{2,}([0-9]+/[0-9]+/[0-9]+)"
:invoice-number #"Invoice #\s+(\d+)"} :invoice-number #"Invoice #\s+(\d+)"}
:parser {:date [:clj-time "MM/dd/yyyy"]}} :parser {:date [:clj-time "MM/dd/yyyy"]
:total [:trim-commas nil]}}
;; GGM ;; GGM
{:vendor "Golden Gate Meat Company, Inc" {:vendor "Golden Gate Meat Company, Inc"