From ff8e7b3063c1bd780a5ac50f67b10e252575a39d Mon Sep 17 00:00:00 2001 From: Bryce Date: Wed, 5 Nov 2025 21:34:17 -0800 Subject: [PATCH] fixes reel produce --- src/clj/auto_ap/parse/templates.clj | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index 03a4a4fd..85a4c6c4 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -684,7 +684,8 @@ :parser {:date [:clj-time "MM/dd/yy"] :total [:trim-commas-and-negate nil]}} - {:vendor "Reel Produce" +;; TODO DISABLING TO FOCUS ON STATEMENT + #_{:vendor "Reel Produce" :keywords [#"reelproduce.com"] :extract {:date #"([0-9]+/[0-9]+/[0-9]+)" :customer-identifier #"Bill To(?:.*?)\n\n\s+(.*?)\s{2,}" @@ -735,11 +736,11 @@ :parser {:date [:clj-time "MM/dd/yyyy"] :total [:trim-commas-and-negate nil]}} {:vendor "Reel Produce" - :keywords [#"REEL Produce, Inc" #"Statem"] + :keywords [#"reelproduce.com" #"Statem"] :extract {:date #"\s*([0-9]+/[0-9]+/[0-9]+)" :customer-identifier #"To:\s*\n\s+(.*?)\s{2,}" - :invoice-number #"INV #(\d+)" - :total #"INV #(?:.*?)\s{2,}([\d\-,]+\.\d{2,2}+)"} + :invoice-number #"#(\d+)" + :total #"([\d\-,]+\.\d{2,2})"} :parser {:date [:clj-time "MM/dd/yyyy"] :total [:trim-commas-and-negate nil]} :multi #"\n"