From 20bf26614a5e7f7e04abd8ddc639d032efa62320 Mon Sep 17 00:00:00 2001 From: Bryce Date: Sun, 3 Dec 2023 20:40:28 -0800 Subject: [PATCH] Makes southern glazers choose account number correctly --- src/clj/auto_ap/parse/templates.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index 80f9278e..19d1ef5a 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -101,7 +101,7 @@ :extract {:date #"INVOICE DATE(?s:.*)(?= (?:[0-9]+/[0-9]+/[0-9]+)\s+([0-9]+/[0-9]+/[0-9]+)) " :invoice-number #"INVOICE\n(?:.*?)(?=\d{4,})(\d+)" :total #"PAY THIS AMOUNT(?s:.*)(?= ([0-9,]+\.[0-9]{2}))" - :account-number #"ACCOUNT #.*\n.*\n\s+(\d+)"} + :account-number #"ACCOUNT #.*\n.*\s+(\d+)"} :parser {:date [:clj-time "MM/dd/yy"] :total [:trim-commas nil]} :multi #"\f"