feat: remaining services and controllers

- ContratoService + ContratoController (CRUD, PDF data, empresa, firma)
- CotizacionService + CotizacionController (CRUD, detalle, pago, empresa)
- AlumnoService + AlumnoController (CRUD, apoderado, consultas, colegios)
- InformeService + InformeController (reportes ventas, leads, documentos)
- All services registered in DI (Program.cs)
This commit is contained in:
2026-07-07 17:59:38 -04:00
parent aed251d82f
commit 2dfe7daa2c
10 changed files with 884 additions and 2 deletions
+6 -2
View File
@@ -44,13 +44,16 @@
- [ ] SpComplexQueries.cs (Dapper multi-resultset)
- [x] **1.4 Ventas.Services — Lógica de Negocio** (~2 sem)
- [x] LeadService.cs, UsuarioService.cs, JwtService.cs
- [ ] Resto servicios (Contrato, Cotizacion, Alumno, etc.)
- [x] ContratoService.cs, CotizacionService.cs, AlumnoService.cs, InformeService.cs
- [x] **1.5 Ventas.API — Controladores REST** (~1 sem)
- [x] AuthController.cs (login + perfil)
- [x] LeadController.cs (CRUD + actividades + pagos)
- [x] ContratoController.cs (CRUD + PDF + empresa + firma)
- [x] CotizacionController.cs (CRUD + detalle + pago + empresa)
- [x] AlumnoController.cs (CRUD + apoderado + consultas)
- [x] InformeController.cs (reportes ventas, leads, documentos)
- [x] Program.cs completo (DI, JWT, CORS)
- [x] appsettings.json con connection strings
- [ ] Resto controllers (Contrato, Cotizacion, Alumno, etc.)
- [x] **1.6 Auth JWT** (~3 días)
- [x] JwtService.cs (generación de tokens)
- [x] Login endpoint funcional
@@ -107,6 +110,7 @@
|-------|------|-------------|----------------|
| 2026-07-07 | F1 | Entities (25), Enums, DTOs, Interfaces, DbContext, LeadRepository + LeadQueryRepository, DI, JWT, appsettings | Resto repos + Controllers |
| 2026-07-07 | F1 | LeadService, UsuarioService, JwtService, AuthController, LeadController | Resto Services + Controllers |
| 2026-07-07 | F1 | ContratoService, CotizacionService, AlumnoService, InformeService + Controllers (Contrato, Cotizacion, Alumno, Informe) | Frontend setup |
| | | | |
| | | | |