Vacation Requests can be managed with standard forms but the Vacation Requests Extension provides some additional features to make them easier to manage.
The Vacation Days field
Add the Vacation Days field to any form and, if the final status is approved, then the number days in this field will be deducted from the balance for the current user.
Vacation Days Approval
This is what a manager would see. when approving the request.
Vacation Information User Profile Section
The following section is added to all user profiles in the WordPress user admin and is only editable by users with the gravityflowvacation_edit_profiles capability.
This information is also available as columns in the User list
How Does it Work?
The calculation of the remaining balance = Annual Paid Time Off + Comp Days + HR Adjustment + Carry Over Days - Days Approved
The Days Approved balance is calculated by searching all entries across all the forms with a Vacation Days field. The date range for the entry search is restricted to the current year and the date used is the first date field on the form. If there are no date fields then the submission date is used.
Vacation Requests spanning two years (e.g. 2 days vacation between 31 Dec and 1 Jan) have to be in two separate requests.