Mavis
b18cb13a6c
feat: capture stock-code descriptions from PDF line text
...
- Two PDF layouts supported: description-before-stock-code and description-after
- Clean up trailing inch-quote artifacts and multiple-comma noise
- Importer PATCHes existing records when new description is better
- Stock codes tab now shows real goods descriptions, not just codes
2026-09-17 23:49:54 +02:00
Mavis
22ddfe82bf
fix: avoid PB SDK filter=undefined serialization (caused 400 errors)
...
The PB JS SDK serializes `filter: undefined` as the literal string
undefined in the URL, which PB rejects with 400 Bad Request.
Switched to conditionally including filter only when non-empty.
2026-09-17 23:17:58 +02:00
Mavis
b95599fe83
fix: dashboard autocancellation - single invoice fetch + clearer error
2026-09-17 23:11:55 +02:00
Mavis
cc4906fba5
chore: tidy .gitignore and update NOTES.md with build discoveries
2026-09-17 23:08:38 +02:00
Mavis
22854074ca
feat: working JEI invoice tracker with PB import + UI on port 6002
...
- Next.js 14 + Tailwind + TypeScript scaffolded
- PocketBase v0.39.8 collections: JEI_invoices, JEI_invoice_lines, JEI_stock_codes
(30 fields total, locked to superuser)
- PDF extraction: scripts/extract_invoices.py parses 33 PDFs -> 38 records
- Import script: scripts/import_to_pb.py idempotent push to PB
- Imported: 24 invoices, 70+ stock codes, 118 invoice lines
- Pages: /, /invoices, /invoices/[id], /stock-codes, /stock-codes/[code]
- All 5 pages verified returning 200 with real data on port 6002
2026-09-17 23:07:56 +02:00
Mavis
97d0339aa6
notes: duplicate file findings + dedup strategy
2026-09-17 21:35:07 +02:00
Mavis
f1f28ba13a
spec: clarify acceptance #4 wording
2026-09-17 21:32:20 +02:00
Mavis
3cce09db23
spec: revise with PDF discoveries + deliver-to + document_type; add NOTES.md and .gitignore
2026-09-17 21:32:05 +02:00
Mavis
14eee3fb9a
spec: JEI invoice tracker design (2026-09-17)
2026-09-17 21:19:22 +02:00