From 7ad017cbcef6b53305e18b4615e13cdf3cbacf6c Mon Sep 17 00:00:00 2001 From: Bryce Date: Mon, 17 Jun 2024 10:39:49 -0700 Subject: [PATCH] trims commas --- src/clj/auto_ap/parse/templates.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index ea6a2fc1..91b876a6 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -19,7 +19,8 @@ :customer-identifier #"(.*?)(?:\s+)Invoice #" :date #"Invoice Date\s{2,}([0-9]+/[0-9]+/[0-9]+)" :invoice-number #"Invoice #\s+(\d+)"} - :parser {:date [:clj-time "MM/dd/yyyy"]}} + :parser {:date [:clj-time "MM/dd/yyyy"] + :total [:trim-commas nil]}} ;; GGM {:vendor "Golden Gate Meat Company, Inc"