metallkart-erp/prisma
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
..
migrations Initial commit: ERP skeleton + CLAUDE.md 2026-03-09 09:10:16 +00:00
seeds feat: add purchases + steel-references modules (SPEC 3A, CDC §6 étapes 1-2) 2026-03-13 10:12:00 +00:00
schema.prisma feat: SPEC-36E — lot split with line-level detail (PurchaseLotLine) 2026-04-10 12:28:18 +03:00