Skip to content

Commit

Permalink
Removed unused weekend holidays.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud-Emad committed Oct 30, 2023
1 parent 56d06f3 commit 8871543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
2 changes: 1 addition & 1 deletion client/src/componants/dashboard/Tabs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
<div class="height-100">
<GreatAndHint
header={"This is the user balance of year " + date.getFullYear()}
hint={"The user also has an old balance object, we reset this old balance values to zeros on the first day of march month every year as a cron job, you can always check and if you find these values not zeros after `1/3/*years` you can delete all old balances by checking the checkbox below."}
hint={""}
/>
<UserVacationBalance />
</div>
Expand Down
22 changes: 1 addition & 21 deletions client/src/utils/choices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,5 @@ export const weekendHolidaysChoices = [
{
label: WeekendHolidaysEnum.Saturday_and_Sunday.replace(":", " and "),
value: WeekendHolidaysEnum.Saturday_and_Sunday
},
{
label: WeekendHolidaysEnum.Sunday_and_Monday.replace(":", " and "),
value: WeekendHolidaysEnum.Sunday_and_Monday
},
{
label: WeekendHolidaysEnum.Monday_and_Tuesday.replace(":", " and "),
value: WeekendHolidaysEnum.Monday_and_Tuesday
},
{
label: WeekendHolidaysEnum.Tuesday_and_Wednesday.replace(":", " and "),
value: WeekendHolidaysEnum.Tuesday_and_Wednesday
},
{
label: WeekendHolidaysEnum.Wednesday_and_Thursday.replace(":", " and "),
value: WeekendHolidaysEnum.Wednesday_and_Thursday
},
{
label: WeekendHolidaysEnum.Thursday_and_Friday.replace(":", " and "),
value: WeekendHolidaysEnum.Thursday_and_Friday
},
}
];

0 comments on commit 8871543

Please sign in to comment.