Tons of small fixes
This commit is contained in:
@@ -175,6 +175,17 @@
|
||||
:multi #"\n"
|
||||
:multi-match? #"^\s+.*?\d{6,}.*?\$"}
|
||||
|
||||
|
||||
;; C & L
|
||||
{:vendor "C&L Produce"
|
||||
:keywords [#"440 Franklin Street"]
|
||||
:extract {:date #"([0-9]+/[0-9]+/[0-9]+)"
|
||||
:customer-identifier #"Bill To.*\n.*\n\s+(.*?)\s{2,}"
|
||||
:invoice-number #"Invoice #.*\n.*\n.*?(\d{5,})\n"
|
||||
:total #"Total\s+\$([0-9\.,]+)"}
|
||||
:parser {:date [:clj-time "MM/dd/yy"]
|
||||
:total [:trim-commas nil]}}
|
||||
|
||||
{:vendor "General Produce Company"
|
||||
:keywords [#"generalproduce.com"]
|
||||
:extract {:date #"INVOICE DATE.*\n.*?([0-9]+/[0-9]+/[0-9]+)"
|
||||
|
||||
Reference in New Issue
Block a user