Adds Eddies Produce

This commit is contained in:
Bryce
2023-08-10 21:45:23 -07:00
parent 0fad7cc66f
commit e2e43534d7

View File

@@ -619,7 +619,18 @@
:invoice-number #"Invoice #\n.*?\n.*?([\d\-]+)\n" :invoice-number #"Invoice #\n.*?\n.*?([\d\-]+)\n"
:total #"Total\s*\n\s+\$([\d\-,]+\.\d{2,2}+)"} :total #"Total\s*\n\s+\$([\d\-,]+\.\d{2,2}+)"}
:parser {:date [:clj-time "MM/dd/yy"] :parser {:date [:clj-time "MM/dd/yy"]
:total [:trim-commas-and-negate nil]}}]) :total [:trim-commas-and-negate nil]}}
{:vendor "Eddie's Produce"
:keywords [#"Eddie's Produce"]
:extract {:date #"Invoice\s+([0-9]+/[0-9]+/[0-9]+)"
:customer-identifier #"Amount\s*\n\s+(.*?)\s{2,}"
:invoice-number #"Invoice\s+\S+\s+(\d+)"
:total #"([\d\-,]+\.\d{2,2}+)"}
:parser {:date [:clj-time "MM/dd/yyyy"]
:total [:trim-commas-and-negate nil]}
:multi #"\n"
:multi-match? #"^\s*Invoice\s{2,}"}])
(def excel-templates (def excel-templates
[{:vendor "Mama Lu's Foods" [{:vendor "Mama Lu's Foods"