Skip to content

Private Leaves#27

Open
bigheadsmith wants to merge 634 commits into
ashlessscythe:devfrom
bigheadsmith:private_leaves
Open

Private Leaves#27
bigheadsmith wants to merge 634 commits into
ashlessscythe:devfrom
bigheadsmith:private_leaves

Conversation

@bigheadsmith
Copy link
Copy Markdown

Allows to mark a leave_type as private so they do not show on Team View calendar unless viewed by leave owner or manager.

Horribly hacky, done by checking if employee should see statistics for other employees or not and using a different calendar_cell partial for Team View

vpp and others added 30 commits December 13, 2019 07:24
…lic-holiday-management-page

Public holiday management page
…ng-more-default-bank-holidays

Bring more default bank holidays
…ocha-6-2-2

fix: upgrade mocha to 6.2.2 to fix potential security issue
…-cleanup

fix: clean unused require and variables
…e-fetching-company-feed

fix: remove unused fetching of company feed
…-410-carry-over-and-accrual-alloance-issue

Fix issue with carry over feature for users with accrual allowance timeoff-management#410
…-194-expose-user-calendar-to-admin

Add calendar section to admin view of user details (timeoff-management#194)
…-416-freeze-handlebar-version

Freeze handlbar version so its breaking changes do not break the app
Under some circumstances, for example when hosted using IIS and a reverse proxy, the existing links get the current base url prepended, rendering them invalid. This forces absolute urls to be used, guaranteeing they work.
bigheadsmith and others added 22 commits June 2, 2024 09:48
- no longer required to update adjustments for each year
- if no adjustment exists for the current year, will search back through previous years to find the last adjustment
- adjustments can still be made for individual years
- year switcher added to absences page
- year variable was updating throughout the loop which later should be used for calculating prorata adjustments
- added checkYear variable for use in the loop instead of year
- Employees should not be able to request certain types of leave (e.g. sick) but a manager should be able to add these leave types for employees when required
- Added new manager_only field to leave_types.js
- Added Manager Only checkbox for leave types to general_settings.hbs and add_new_leave_type_modal.hbs
- Leave type selector on book_leave_modal.hbs is now conditional bas on whether the current user manages other users, and if the leave type is manager_only or not
- leaves that have the setting "Manager only" can now only be revoked by a manager
…eports and tables still show only requestor comment (if any)
fix sequelize error when updating admin checkbox
fix sequelize error when updating admin checkbox
correct year for absences and teamview
Allows to mark a leave_type as private so they do not show on Team View calendar unless viewed by leave owner or manager.

Horribly hacky, done by checking if employee should see statistics for other employees or not and using a different calendar_cell partial for Team View
@bigheadsmith
Copy link
Copy Markdown
Author

I don't expect this to be merged but a starting point to show the concept of this feature and work towards hopefully implementing it

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.