feat(cotizador): enganche adicional hasta 90% de anticipo total (UI, opciones de credito, PDF, API y persistencia)

This commit is contained in:
2026-09-29 21:08:02 +00:00
parent ed367582c3
commit 013e13b9df
15 changed files with 309 additions and 12 deletions

View File

@@ -0,0 +1,6 @@
-- Enganche adicional (anticipo extra) del esquema FRASA 2026: el cliente puede
-- dar hasta 90% de anticipo total (esquema + adicional), quedando un mínimo
-- del 10% del precio por financiar. 0 por default (no aplica a filas viejas).
-- Patrón manual: sqlite3 + _prisma_migrations. NUNCA migrate dev.
ALTER TABLE "Cotizacion" ADD COLUMN "engancheAdicional" REAL NOT NULL DEFAULT 0;