Skip to content

Half Day WFH #1

Description

@mainshivam

Currently, how Frappe HR behaves - if someone messages TG bot for /wfh, it first asks for when; then asks if it's half day or full day. The thing is if we choose half-day, then it marks half-day in attendance request and basically it becomes half day present and half day absent in attendance.

There should be a custom field which should capture this. Mostly required for half day in case of wfh. If we choose /wfh, it should ask for when, then ask if it's half-day or full-day - but choosing half-day must not check the Half Day checkbox in Attendance Request. It should update the custom field to 0.5. If full-day is chosen, then update then custom-field to 1. Also, depends for many days is the wfh applied for. If it's for one day, it should be 1, if it's for 2 days, it field should be updated to 2.

Basically if Attendance Request is for WFH, the total WFH days for the Attendance Request should be captured in this custom field. Even if Half-Day is chosen this custom field should update and not the Half-Day check box in Attendance Request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions