feat: enterprise questpdf reports

- EmpresaReportService with 4 enterprise PDF reports
- ContratoAbierto: contract header, course detail, schedules, students
- ContratoCerrado: proposal info, courses, student list
- CotizacionCursoCerrado: quote header, course detail table
- CotizacionPlanCentral: company info, payment plan, course schedule
- EmpresaReportController with download endpoints
- All using ModuloEmpresa_PropuestaCrystalReport SP via Dapper
This commit is contained in:
2026-07-08 09:27:26 -04:00
parent e1367fc23a
commit df028eb4dd
4 changed files with 488 additions and 1 deletions
+2
View File
@@ -35,6 +35,8 @@ builder.Services.AddScoped<AlumnoService>(sp =>
builder.Services.AddScoped<InformeService>(sp =>
new InformeService(connectionString));
builder.Services.AddScoped<ReportService>();
builder.Services.AddScoped<EmpresaReportService>(sp =>
new EmpresaReportService(connectionString));
var jwtSecret = builder.Configuration["Jwt:Secret"] ?? "default-dev-secret-change-in-production";
var jwtExpiration = int.Parse(builder.Configuration["Jwt:ExpirationMinutes"] ?? "30");