Mikhail Chusavitin
6f1de7a20e
Add vendor mappings CSV import modal and fix vendor rename save
2026-02-26 12:44:11 +03:00
Mikhail Chusavitin
63454554c1
Fix vendor mapping delete behavior and update docs
2026-02-25 19:06:28 +03:00
a4457a0a28
Add partnumber book snapshots for QuoteForge integration
...
- Migrations 026-028: qt_partnumber_books + qt_partnumber_book_items
tables; is_primary_pn on lot_partnumbers; version VARCHAR(30);
description VARCHAR(10000) on items (required by QuoteForge sync)
- Service: CreateSnapshot expands bundles, filters empty lot_name and
ignored PNs, copies description, activates new book atomically,
applies GFS retention (7d/5w/12m/10y) with explicit item deletion
- Task type TaskTypePartnumberBookCreate; handlers ListPartnumberBooks
and CreatePartnumberBook; routes GET/POST /api/admin/pricing/partnumber-books
- UI: snapshot list + "Создать снапшот сопоставлений" button with
progress polling on /vendor-mappings page
- Bible: history, api, background-tasks, vendor-mapping updated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-21 22:16:16 +03:00
Mikhail Chusavitin
225e1beda9
Fix pricelist generation logic
2026-02-20 19:13:34 +03:00
Mikhail Chusavitin
c96a8806c4
Harden pricelist formation and document architecture decisions
2026-02-20 19:01:07 +03:00
Mikhail Chusavitin
d381a5833d
Require bible updates before user-requested commits
2026-02-20 15:38:12 +03:00
Mikhail Chusavitin
60563509e4
Deduplicate vendor seen by partnumber and fix vendor mappings list
2026-02-20 15:37:41 +03:00
Mikhail Chusavitin
7d402b756d
docs: add bible/ as single source of architectural truth
...
- Created bible/ with hierarchical documentation (architecture, pricelists,
vendor mapping, background tasks, data rules, patterns, API, operations, history)
- CLAUDE.md reduced to one instruction: read and follow the bible
- README.md reduced to quick start only
- Removed MEMORY.md and csv_export.md (content consolidated into bible/)
- Fixed stale facts found during audit: weighted_avg (not weighted_median),
correct API route names (/export-csv, /recalculate-all)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-20 14:16:47 +03:00