Fixed minor bugs.
This commit is contained in:
@@ -162,7 +162,8 @@
|
||||
: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,.]+)"}
|
||||
:total #"TOTAL DUE :\s+\$([0-9,.]+)"
|
||||
:account-number #"CUSTOMER#\s+:\s+(\d+)"}
|
||||
:parser {:date [:clj-time "MM/dd/yyyy"]
|
||||
:total [:trim-commas nil]}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user