Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HRIS-356] - [FE] DTR management export function for admin #298

Merged
merged 14 commits into from
Jul 30, 2024

Conversation

Miguel21Monacillo
Copy link
Contributor

@Miguel21Monacillo Miguel21Monacillo commented Jun 11, 2024

Issue Link

https://framgiaph.backlog.com/view/HRIS-356

Definition of Done

  • [o] Admin can export the following datas:
  • DTR for employees
  • Cut-off Summary of employees ranging from 1-15 & 16-31
  • Work Interruption & Filed offset

Notes

  • After downloading the file and opening it the display on the box for the date are hashed, to fix it just click on the table with the hash and click on the date which is on the 'fx'

Pre-condition

  • Must be logged in as Admin

Commands to run:

  • docker compose up api client db

Expected Output

It should display the data of the employees on the excel file after downloading it.

Screenshots/Recordings

Exported Data from DTR Management
image

Export Data from Work Interruption & Filed Offset
Screenshot 2024-07-12 162417

Export Data from Summary with cut-off dates
1-15 CutOff
Screenshot 2024-07-16 165517
16-31 CutOff
Screenshot 2024-07-16 165603

@roman2k21
Copy link

roman2k21 commented Jun 13, 2024

  • Remove the ID column

    • Display only the columns displayed in the DTR management page

      Screenshot

      image

  • Status column was not included. please include

    Screenshot

    image

  • Put (min) in Late, Overtime and Undertime to folow the column names in the DTR page

    Screenshot

    image

  • Fix the Hash display on the Dates value

    Screenshot

    image

  • If there is 0 in Overtime display also the 0 value in the csv

    Screenshot

    image

  • Change the exported file name to DTR_YYYY-MM-DD.csv

    • example: DTR_2024-06-13.csv
    • should be the date of the records, not the date when you exported
  • Please also apply the export function for summary of DTR

  • Export also the details for Remarks of the Time in & out, Work interruption and Filed offset

@Miguel21Monacillo Miguel21Monacillo requested review from LennardUy104 and Fontilllas and removed request for jeremiahC and mdv-sunasterisk July 16, 2024 10:13
Copy link
Contributor

@Fontilllas Fontilllas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please resolve the issue 'Possible null reference assignment.' check it on File changed.

@Fontilllas Fontilllas merged commit 6d8a896 into develop Jul 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants