Skip to content

Skip Approved Leave Dates During Resource Allocation #1964

Description

@Ajay-Jaiswal416

Description

Currently, when creating a resource allocation, the system considers all dates within the selected allocation period, including the employee's approved leave dates. As a result, allocation hours are assigned to leave days, leading to unnecessary overallocation warnings.

For example, if an employee is on approved leave from 6th Aug to 10th Aug, and an allocation is created from 3rd Aug to 31st Aug, the system currently attempts to allocate hours on the leave dates, resulting in overallocation warnings.

Instead, the system should automatically skip approved leave dates and distribute the allocation across the remaining available working days within the selected date range.

Current Behavior

  • The system allocates hours across the selected date range without considering employee leave.
  • Leave dates contribute to overallocation warnings.

Expected Behavior

  • The system should automatically exclude approved leave dates from the allocation calculation.
  • Allocation hours should be redistributed across the remaining available working days within the selected date range.
  • No overallocation warning should be generated solely because the employee is on approved leave.

Acceptance Criteria

  • Approved leave dates are excluded when calculating daily resource allocation.
  • Allocation hours are automatically redistributed across the remaining working days within the selected allocation period.
  • No overallocation warning is shown due to approved leave dates.
  • Existing allocation behavior remains unchanged for employees without approved leave.
  • Existing functionality for recurring allocations and manual allocation edits continues to work as expected.

Reference

Screenshot 1: Employee allocation showing overallocation warning due to approved leave.

Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions