Commit Graph

5 Commits

Author SHA1 Message Date
shawn a305766d65 fix: show '— No report yet' for assets without dex_report_date 2026-05-23 18:46:58 -04:00
shawn 9d9e50834c feat(import_machines): add dex_report_date, deployed, pulled_date extraction
- Extract from row[7] (Col 8), row[34] (Col 35), row[35] (Col 36)
- Handle datetime -> ISO conversion for date columns
- Include in UPDATE and INSERT statements

Kanban: t_3bef3c9c
2026-05-23 17:30:10 -04:00
shawn d91c1f0861 fix: normalize GF Bev/GF Food category casing throughout
- import_machines.py: add GF Bev/GF Food/Bev to category_map
- static/index.html: CATEGORY_MAP keys Gf bev→GF Bev, Gf food→GF Food
- DB: migrated 236 Gf bev→GF Bev, 173 Gf food→GF Food
2026-05-22 19:15:57 -04:00
shawn e8a918fc7b feat: add is_disney column for reliable Disney/Non-Disney filtering
- Added is_disney INTEGER DEFAULT 0 column to assets table
- Backfilled 996 Disney assets based on D- customer prefix
- Server: is_disney in AssetCreate/AssetUpdate models, INSERT/UPDATE
- Server: disney_filter query param now uses is_disney column (no JOIN needed)
- import_cantaloupe.py: sets is_disney=1 when customer starts with D-
- import_machines.py: sets is_disney=1 when customer starts with D-
- disney_classify.py: sets is_disney=1 when classifying
- Frontend: new Location Type dropdown with Disney/Non-Disney toggle
  (replaces the __disney__/__non_disney__ park dropdown pseudo-options)
2026-05-22 18:34:13 -04:00
shawn bb0f6b81e7 Add Excel import script for Cantaloupe machine list 2026-05-22 17:53:29 -04:00