Skip to content

[Task] Add Carbon Offset ESG Reporting PDF Generator #675

Description

@knoxiboy

Problem Statement

Hotel and hostel providers need verifiable environmental performance metrics to satisfy ESG (Environmental, Social, and Governance) audits. Currently, they can view charts on their dashboard, but there is no way to export a verified ESG compliance report.

Proposed Solution

Build a Carbon Offset ESG Reporting PDF Generator:

  1. Implement a utility module src/esg-reporter.js utilizing jspdf or html2pdf.js.
  2. Aggregate historical data (completed dispatches, total weight, average contamination, and total calculated CO₂ offset).
  3. Design a professional, brand-compliant ESG report template containing summary tables and carbon offset certification stamps.
  4. Add a "Download ESG Audit Report" button to the Provider analytics page.

Alternatives Considered

Instructing users to take screenshots of the dashboard charts, which looks unprofessional and is not acceptable for formal audits.

Additional Context

Title: [FEATURE] Add Carbon Offset ESG Reporting PDF Generator
Level: Intermediate
Affected Files: src/esg-reporter.js (new), index.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions