-
Notifications
You must be signed in to change notification settings - Fork 80
Add a Standalone PDF Report Export Endpoint for Assets #535
Copy link
Copy link
Closed
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programgood first issueGood for newcomersGood for newcomers
Description
Description:
pdfkit is already installed. This is a self-contained endpoint that streams a formatted PDF asset report directly to the client. It is independent of the CSV and Excel exports and can be worked on separately.
Acceptance Criteria:
-
GET /api/reports/assets/export/pdf— accepts the same query filters - Returns a PDF with
Content-Disposition: attachment; filename="assets-report.pdf" - PDF includes: report title, generated date, applied filter summary, total asset count
- Asset table with columns: Asset ID, Name, Category, Department, Status, Location
- Page numbers rendered in the footer
- Uses
pdfkitstreaming to pipe directly into the HTTP response - JWT-protected
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programgood first issueGood for newcomersGood for newcomers