• Resolved reinsz

    (@reinsz)


    Hello,
    Great plugin. Has exactly everything I need.
    However pop up calendar within leave request counts weekends against selected policy.
    Say policy allows for 7 days, pop up calendar wont let me select 8 straight days (6 business days) even if within those 8 straight days there is a weekend.
    If I select 7 days, including weekend, pop up calendar allows it, weekend is marked 0 and remainder leave is set to 2 days.
    Why is pop up calendar counting weekends whereas the policy is not?
    Does this mean user should split it request to include only business days in order for pop calendar to allow it within the entitlement?
    In other words, within “”Policies” Days: X Days within calender year.” pop up calendar for “take leave” considers the x days literally even for non working days.
    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Heloo reinsz,
    Thanks for using HR Manager Plugin, When you Request for holiday, it will exclude the weekend and include week days only, also when you select the date From to To it calculates the total number of business days in between these two dates and print count as well.
    it Just display zero values in weekend and also not counting it in the holidays.
    if your still have any query please let me know i will elaborate it in more detail.

    Kind Regards
    Irfan Qasim

    Thread Starter reinsz

    (@reinsz)

    Hello,
    Thanks for your quick answer. The behavior described is accurate however I have come across a scenario where it doesnt work.
    Example:
    1. Leave entitlement is 7 business days.
    2. Employee wants to take a leave from Monday to Monday next week. Meaning employee is requesting 6 days out of the 7 days it is entitled to.
    3. When employee uses pop up calendar within “Leave request” to select Monday though Monday system replies with “Sorry! You do not have any leave left under this leave policy” message.
    Upon trial and error I have figured out that pop up calendar is counting 8 days in the described request instead of 6. Because 8 days is above the entitlement (7 days in this example) the system wont let the employee select the range. However, in reality the request is for 6 bussiness days only plus Sat & Sun, which should not be counted.
    I have figured out splitting up the request works. Meaning, requesting Mon-Fri and then requesting Mon. However this solution duplicates what should be a single request.
    It even woks requesting Mon-Sun because the pop up calendar counts 7 days out of a 7 day entitlement. Next screen in fact shows Sat & Sun as 0. Leaving 1 day available for the employee.
    However and as stated, employee is not allowed to select Mon trough Mon in a single range request.
    I hope to have been clear.
    Thanks a million for such a wonderful script and technical support.
    Rene

    Hi reinsz,
    Thanks for elaborating question.let me check in detail all scenario then get back to you shortly.

    kind Regards,
    irfan Qasim

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pop up calendar counting weekends against entitlements’ is closed to new replies.