Golden Brands
This commit is contained in:
@@ -159,10 +159,10 @@
|
|||||||
;; GOLDEN BRANDS
|
;; GOLDEN BRANDS
|
||||||
{:vendor "Golden Brands San Jose"
|
{:vendor "Golden Brands San Jose"
|
||||||
:keywords [#"GOLDEN BRANDS"]
|
:keywords [#"GOLDEN BRANDS"]
|
||||||
:extract {:date #"(?:.*\n){4}(.*)" ;; HOW TO GO TO SPCIFIC LINE
|
:extract {:date #"(?:.*)((?:Mon|Tue|Wed|Thu|Thurs|Fri|Sat|Sun) .*)" ;; HOW TO GO TO SPCIFIC LINE
|
||||||
:account-number #"Account:\s*(.*?)\n"
|
:account-number #"Account:\s*(.*?)(\s{2,}|\n)"
|
||||||
:invoice-number #"Invoice#: (\d+)"
|
:invoice-number #"Invoice#: (\d+)"
|
||||||
:total #"Invoice Total\s+([0-9,]+\.[0-9]{2})"}
|
:total #"Invoice Total\s+([\-0-9,]+\.[0-9]{2})"}
|
||||||
:parser {:date [:clj-time "EEE MMM dd, yyyy HH:mm aa"]
|
:parser {:date [:clj-time "EEE MMM dd, yyyy HH:mm aa"]
|
||||||
:total [:trim-commas nil]}}
|
:total [:trim-commas nil]}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user