Skip to content

[frontend] PayrollAnalytics CSV export only covers trend data, not the full dashboard #950

Description

@Wilfred007

Description

The CSV export on PayrollAnalytics.tsx only exports the trend chart's underlying data, leaving out other visible breakdowns (e.g. department breakdown, summary totals) that a user reviewing the dashboard would reasonably expect to be included in "export".

Where

frontend/src/pages — PayrollAnalytics.tsx

Acceptance Criteria

  • Extend the export to include all currently visible analytics sections (or let the user pick which sections to export)
  • Add a test asserting the exported CSV includes the additional sections

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendFrontend developmentmediumModerate tasks

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions