metallkart-erp/prisma
louis d340e8070d feat: SupplierDeliveryNote (УПД входящие) — reception-v2 workflow
- SupplierDeliveryNote model + enum DRAFT/SIGNED/CANCELLED in Prisma schema
- SDN service: create (atomic SDN + N receptions), sign (requires file, auto-verifies receptions), cancel (cascade)
- SDN routes: POST /, GET /, GET /:id, POST /:id/sign, POST /:id/cancel
- Guard on receptions.verify: refuses without linked signed УПД
- Receptions no longer auto-verify on create (ACHETEUR role) — verification goes through SDN sign
- Frontend: API client, UpdIncomingTab in Документооборот hub, SDN creation modal in PO drawer
- ReceptionsSection shows УПД column + "Оформить УПД" button alongside legacy "Приёмка без УПД"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-27 19:01:30 +03:00
..
migrations Initial commit: ERP skeleton + CLAUDE.md 2026-03-09 09:10:16 +00:00
seeds feat(calendar): add PublicHoliday model + seed 2026 (18 official Russian holidays) 2026-04-24 17:32:34 +03:00
schema.prisma feat: SupplierDeliveryNote (УПД входящие) — reception-v2 workflow 2026-04-27 19:01:30 +03:00