Commit Graph

119 Commits

Author SHA1 Message Date
a4d7ac5982 Allows upload of CSV of sysco with line item parsing 2026-05-26 21:53:04 -07:00
ba87805d4c Add vendor pre-population for bulk code and individual edit forms
- Add vendor-changed HTMX handlers for both bulk code and individual edit
- Pre-populate default account at 100% when vendor is selected and no accounts exist
- Fix render-accounts-section to render from step-params correctly
- Change bulk code vendor-changed from hx-get to hx-post to include form data
- Add routes for vendor-changed endpoints
- Update e2e tests to cover vendor pre-population
- Run lein cljfmt fix across codebase
2026-05-21 14:45:19 -07:00
8a0395dc4a Add Bonanza Produce multi-invoice statement template
- Added multi-invoice template for Bonanza Produce with :multi and :multi-match? flags
- Template uses keywords for statement header to identify multi-invoice format
- Extracts invoice-number, date, customer-identifier (from RETURN line), and total
- Parses 4 invoices from statement PDF 13595522.pdf
- All tests pass (29 assertions, 0 failures, 0 errors)

- Added test: parse-bonanza-produce-statement-13595522
- Updated invoice-template-creator skill: emphasized test-first approach
2026-02-08 07:56:14 -08:00
98a3e0dda6 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>
2026-02-08 07:55:26 -08:00
f4366fe98e Add location extraction for Bonanza Produce invoices
- Extract city/state/zip in location field
- Customer address now split across 3 fields:
  - customer-identifier: customer name
  - account-number: street address
  - location: city, state zip
- All components verified in test

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-08 07:55:12 -08:00
d95e24a1d7 Improve Bonanza Produce customer identifier extraction
- Extract customer name in customer-identifier field
- Extract street address in account-number field
- Use non-greedy regex with lookahead to capture clean values
- Update test to verify both name and address extraction

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-08 07:50:55 -08:00
37351e5f92 Add Bonanza Produce invoice template
- Add new PDF template for Bonanza Produce vendor
- Template uses phone number 530-544-4136 as unique identifier
- Extracts invoice number, date, customer identifier, and total
- Includes passing test for invoice 03881260

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-08 07:50:42 -08:00
795189ddd3 csv for worldwide produce 2026-01-07 11:32:49 -08:00
4ef2190570 template for sushi. 2026-01-07 11:26:20 -08:00
269fa45923 improvements 2025-12-04 11:18:36 -08:00
af7f9355e8 Fixes issues 2025-11-19 23:53:30 -08:00
ff8e7b3063 fixes reel produce 2025-11-05 21:34:17 -08:00
c528795b1e fixed the only first four issue. 2025-10-07 21:08:19 -07:00
45012e85cc fixes bugs. 2025-09-23 22:53:29 -07:00
b646544ebc Improvements to templates 2025-09-11 23:00:42 -07:00
7e890cebee Make bigoli work 2024-10-24 23:26:59 -07:00
dc44233640 Adds uploaded by for invoices, fixes REEL Produce, adds Mani Produce 2024-09-25 08:36:45 -07:00
8d1303e83d Golden Brands 2024-08-28 08:58:01 -07:00
87ea623318 Removes glimpse, adds copy ids, cleans up error stuff, and supports ledyard 2024-08-23 21:37:35 -07:00
06b9e6e02c invoice tweaks. 2024-06-26 19:47:59 -07:00
41398944d2 typo and invoice parse fix. 2024-06-25 07:04:18 -07:00
d9beac361f Adds invoices 2024-06-21 21:53:37 -07:00
7ad017cbce trims commas 2024-06-17 10:39:49 -07:00
0e2b8f7a68 adds gstar seafood 2024-06-17 08:25:13 -07:00
0cabe30999 fixes new wine warehouse format. 2024-06-07 10:52:04 -07:00
f79872a924 adds template formats 2024-05-01 12:49:26 -07:00
de6e6f1572 fixes bug, adds CSV template 2024-04-19 22:02:25 -07:00
Bryce
bff70e04b6 breakthru beverage 2024-03-27 11:47:43 -07:00
04abde29f5 Fixes Southern Glazers 2024-03-18 23:06:24 -07:00
e5e28a4459 Primizie foods 2024-03-11 15:22:27 -07:00
073beebedd southern glazers attempt 3 2023-12-14 21:32:38 -08:00
d235ea604c Makes southern glazers choose account number correctly 2023-12-03 20:40:32 -08:00
20bf26614a Makes southern glazers choose account number correctly 2023-12-03 20:40:28 -08:00
930b900849 Makes logging unified 2023-10-30 12:35:18 -07:00
f9b75cbb80 Merge branch 'master' of codecommit://integreat 2023-10-26 21:25:43 -07:00
58c34715e2 moves youngs market to RNDC 2023-10-26 21:24:35 -07:00
Bryce
e66d93989c makes sales queries go for 120 days, fixes Youngs Market 2023-10-20 22:15:06 -07:00
Bryce
ddbe5ed842 makes royal hawaiian forced to be 2 digit years 2023-08-14 15:03:18 -07:00
Bryce
e2e43534d7 Adds Eddies Produce 2023-08-10 21:45:23 -07:00
Bryce
9c6c5d8f9e invoice parsing fixes. 2023-07-28 08:15:26 -07:00
Bryce
e08a4cd28a fixes invoice import issues, fixes issue with too many keys in s3 for general produce. 2023-07-19 20:37:10 -07:00
Bryce
461b58eb0d Merge branch 'try-tailwind' 2023-07-13 20:50:20 -07:00
Bryce
7b0799e7ad Fixes issue with JFC import, fixes issue where overriden account ids did not take effect. 2023-07-11 09:36:40 -07:00
Bryce
2b93118b84 merged. 2023-06-14 16:20:40 -07:00
Bryce
85ce806dfc fixes the invoice number on reel invoices. 2023-06-14 08:20:44 -07:00
Bryce
d39bc0d834 tweak 2023-06-13 08:48:26 -07:00
Bryce
6a43ac257b fixes commit problems, bad vendors 2023-06-08 22:18:46 -07:00
Bryce
de6c6b3031 working on solr stuff. 2023-06-06 21:08:19 -07:00
8bd73b8a98 Removes docjure, freeing space 2023-05-10 10:39:58 -07:00
d36667d0a8 Minor tweak, makes Ashlees version work 2022-12-19 13:20:06 -08:00