Fixed minor bugs.

This commit is contained in:
Bryce Covert
2020-08-24 21:20:34 -07:00
parent c6f9eb0979
commit 7f75a3b849
3 changed files with 11 additions and 2 deletions

View File

@@ -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]}}