Extract customer name and address for Bonanza Produce

- customer-identifier field: customer name (e.g., 'NICK THE GREEK')
- account-number field: street address (e.g., '600 VISTA WAY')
- Combined they provide full customer identification with address
- Updated test to verify both fields and their concatenation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-02-07 10:33:26 -08:00
parent f4366fe98e
commit 98a3e0dda6
2 changed files with 6 additions and 5 deletions

View File

@@ -24,9 +24,11 @@
(is (= 2026 (time/year d)))
(is (= 1 (time/month d)))
(is (= 20 (time/day d))))
;; Customer identifier components
;; Customer identifier includes name, account-number includes street address
;; Together they form the full customer identification
(is (= "NICK THE GREEK" (:customer-identifier result)))
(is (= "600 VISTA WAY" (str/trim (:account-number result))))
(is (= "MILPITAS, CA 95035" (str/trim (:location result))))
(is (= "NICK THE GREEK 600 VISTA WAY"
(str (:customer-identifier result) " " (str/trim (:account-number result)))))
;; Total is parsed as string, not number (per current behavior)
(is (= "23.22" (:total result)))))))