autochlor.
This commit is contained in:
@@ -127,6 +127,28 @@
|
||||
:parser {:date [:clj-time "MM/dd/yyyy"]
|
||||
:total [:trim-commas nil]}}
|
||||
|
||||
;; AUTO-CHLOR
|
||||
{:vendor "Auto-Chlor"
|
||||
:keywords [#"AUTO-CHLOR"]
|
||||
:extract {:date #"DATE : ([0-9]+/[0-9]+/[0-9]+)"
|
||||
:customer-identifier #"(.*?)\s{2,}.*CUSTOMER#"
|
||||
:invoice-number #"INVOICE# :\s+([0-9]+)"
|
||||
:total #"TOTAL SALE :\s+([0-9,.]+)"}
|
||||
:parser {:date [:clj-time "MM/dd/yyyy"]
|
||||
:total [:trim-commas nil]}}
|
||||
|
||||
;; Classic Wines
|
||||
{:vendor "Classic Wines"
|
||||
:keywords [#"585-9463"]
|
||||
:extract {:date #"([0-9]+/[0-9]+/[0-9]+)"
|
||||
:customer-identifier #"Customer Id:.*\n.*\n.*\n(.*)"
|
||||
:invoice-number #"^.{23}\s+(\w+)"
|
||||
:total #"\$([0-9\.,]+)"}
|
||||
:parser {:date [:clj-time "MM/dd/yy"]
|
||||
:total [:trim-commas nil]}
|
||||
:multi #"\n"
|
||||
:multi-match? #"^\s+.*?\d{6,}.*?\$"}
|
||||
|
||||
;; Young's Market Co new statement
|
||||
{:vendor "Youngs Market"
|
||||
:keywords [#"YOUNG'S MARKET COMPANY"]
|
||||
|
||||
Reference in New Issue
Block a user