Skip to content

Payroll 2/4: W4 and I9 buttons don't load files correctly. #20

@ghost

Description

W4 and I9 buttons don't load files correctly.

Issue:

To replicate this issue, you need to enter the main JobCore account and ask your supervisor for the credentials to enter.

Once you enter the main account, follow these steps:

  • Go to the "Payroll" page; there, you will see 4 black buttons on the right side of the screen. one of them says "Search by Timesheet."
  • If you click this button, you will see a list of available timesheets by payroll periods. Feel free to select any of them.
  • Once you select one of them, you will see a block of information per employee.

Here comes the problem, if you click either the W4 or the I9 buttons, they may both load buttons for the W4 and I9, they may fail to load completely, or they may both load the I9 file.

For reference, the code for this issue exists between lines 434 and 615 of /workspace/employer-web-client/src/js/components/applicant-card/EmployeeExtendedCard.jsx

issue 4

Solution:

A developer should make it so that the W4 and I9 load the correct files when clicked

Solution Steps:

  1. Investigate how the buttons render the files, and if there is no file to be rendered, show a placeholder message to explain that.
  2. Once finished, run all the tests provided in the repo to make sure that your integration was successful
  3. Create a pull request so that your code can be evaluated by the Lead Developer before deployment.
  4. Keep an eye out for any new bugs that arise after the change is deployed to the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions