Replace CSV export with PDF report generation

- Add QuestPDF library for professional PDF generation
- Create PdfReportService with formatted table layout
- Export includes score (color-coded), verified employers, gaps, and flags
- Report has header, footer with page numbers, and alternating row colors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-20 19:28:22 +01:00
parent 7d6d5f12ea
commit acf4d96fae
4 changed files with 164 additions and 26 deletions

View File

@@ -7,6 +7,7 @@ using TrueCV.Infrastructure.Data;
using TrueCV.Infrastructure.Identity;
using TrueCV.Web;
using TrueCV.Web.Components;
using TrueCV.Web.Services;
// Configure Serilog
Log.Logger = new LoggerConfiguration()
@@ -32,6 +33,9 @@ try
// Add Infrastructure services (DbContext, Hangfire, HttpClients, Services)
builder.Services.AddInfrastructure(builder.Configuration);
// Add Web services
builder.Services.AddScoped<PdfReportService>();
// Add Identity with secure password requirements
builder.Services.AddIdentity<ApplicationUser, IdentityRole<Guid>>(options =>
{