Skip to content

[frontend] PayrollAnalytics date range picker allows start-after-end selections #949

Description

@Wilfred007

Description

The date range picker on PayrollAnalytics.tsx doesn't validate that the selected start date precedes the end date, allowing an inverted range to be submitted and produce an empty or nonsensical chart with no explanatory error.

Where

frontend/src/pages — PayrollAnalytics.tsx

Acceptance Criteria

  • Validate start < end before applying the filter, with a clear inline error otherwise
  • Add a test for the inverted-range rejection

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programeasySimple tasksfrontendFrontend development

    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