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:
@@ -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 =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user