ERP MetallKart - Backend Node.js TypeScript Fastify Prisma
Go to file
louis 3fa2b4eb8f feat: SPEC-36E — lot split with line-level detail (PurchaseLotLine)
- New Prisma model PurchaseLotLine (lot_id, po_line_id, quantity)
- splitLots() validates 100% coverage per PO line, creates lotLines
- deliveryDate computed from TenderOffer.deliveryDays + orderDate
- listLots() includes lotLines with poLine detail

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 12:28:18 +03:00
.claude fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
.playwright-mcp fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
backups backup: n8n workflows + pg dump 20260408_020001 2026-04-08 02:00:04 +00:00
docs feat: add spec_32e module (auto-pipeline) 2026-03-25 18:41:24 +00:00
frontend feat: SPEC-36C unconfirm PO + fix supplier Decimal bug + fix lot split quantity 2026-04-09 19:54:08 +03:00
prisma feat: SPEC-36E — lot split with line-level detail (PurchaseLotLine) 2026-04-10 12:28:18 +03:00
scripts fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
src feat: SPEC-36E — lot split with line-level detail (PurchaseLotLine) 2026-04-10 12:28:18 +03:00
tests feat: add spec_SEED_31 module (auto-pipeline) 2026-03-24 16:26:38 +00:00
.gitignore spec-26E: test infrastructure - API workflow E2E + Playwright UI + MCP config 2026-03-22 18:47:03 +00:00
.mcp.json spec-26E: test infrastructure - API workflow E2E + Playwright UI + MCP config 2026-03-22 18:47:03 +00:00
backup_before_purge.dump sync S36 - pre-analysis 2026-04-09 17:33:59 +03:00
CDC.md docs: update CDC session 36 + add REPORT-36C 2026-04-09 19:56:14 +03:00
CLAUDE.md fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
MASTER_CONTEXT.md docs: add MASTER_CONTEXT.md - architect persistent memory 2026-03-09 12:31:19 +00:00
MEMORY.md docs: update MEMORY.md with session 36 progress 2026-04-09 19:59:03 +03:00
package-lock.json fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
package.json 27B: purchase orders API routes — manual create, delete, PDF, generate-from-tender 2026-03-22 19:52:51 +00:00
playwright.config.ts spec-26E: test infrastructure - API workflow E2E + Playwright UI + MCP config 2026-03-22 18:47:03 +00:00
REPORT-33A-FIX.md fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
REPORT-36A.md feat: SPEC-36A — smeta revision compare descends into specData service lots 2026-04-09 18:05:25 +03:00
REPORT-36B.md feat: SPEC-36B — upcoming payments from real POInstallment + PaymentRequest data 2026-04-09 18:35:02 +03:00
REPORT-36C.md docs: update CDC session 36 + add REPORT-36C 2026-04-09 19:56:14 +03:00
REPORT-36E.md feat: SPEC-36E — lot split with line-level detail (PurchaseLotLine) 2026-04-10 12:28:18 +03:00
REPORT-DEBUG-QUANTITES.md fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
REPORT-DIAG-EMAIL.md fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
REPORT-FIX-3BUGS.md fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
REPORT-FIX-FINAL-S34.md fix: installment amounts — recalculate from percentage × total for existing records (session 34) 2026-04-08 15:48:24 +03:00
REPORT-FIX-GLOBAL-S34.md fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
REPORT-FIX-QUANTITES.md fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
screenshot-api.js feat: add screenshot-api.js tool for visual validation from claude.ai 2026-03-13 15:10:02 +00:00
test-estimates.sh feat: add workflow-2-estimate-validation module (auto-pipeline) 2026-03-12 11:59:10 +00:00
tsconfig.json Initial commit: ERP skeleton + CLAUDE.md 2026-03-09 09:10:16 +00:00
win-spec-deploy-sql.md fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
win-spec-install-pg.md fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
win-spec-setup-erp.md fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00