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

Add dates to holiday summary report header #805

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

dmtrek14
Copy link
Collaborator

This adds some additional information to the table header in the holiday summary report - specifically, it adds the first day of the week. This change is made so that users won't have to look up when an ISO week starts and can then have a better idea of when leaves are happening.

Once again, some of the changes show here are from auto-formatting - sorry!

Main change in HolidayService.php is in lines 420-426 where the new array is created that has the week ('2024W01') and the weekStartDate ('Jan 1').

Main changes in holidaySummary.js are at lines 36 and 105 where the weeksStartDate is added and filled.

Then in the holidaySummary.php, the change is at line 69 where the additional info (the week start date) is added to the table header.

@dmtrek14 dmtrek14 requested a review from anarute March 12, 2024 15:03
Copy link
Member

@anarute anarute left a comment

Choose a reason for hiding this comment

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

LGTM

@dmtrek14 dmtrek14 merged commit 574c8e8 into main Mar 12, 2024
2 checks passed
@dmtrek14 dmtrek14 deleted the holiday-summary branch March 12, 2024 15:43
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.

2 participants