Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[$50] We should not allow increasing Working Days more than fit Resource Booking #37

Closed
@maxceem

Description

@maxceem

image

To implement this we have to create a reusable method which would return maximum allowed daysWorked for the WorkPeriod inside Resource Booking.

Tooltips:

  • we already cannot decrease the number of working days to be less than daysPaid
  • we have to explain to the user why they cannot decrease or increase the working days number by showing the reason in Tooltip
  • to do so we have to show tooltip with the reason when the user hover mouse on the - or + buttons (only when they cannot press them):
    • Cannot decrease "Working Days" to less than day already paid: ${daysPaid}
    • Cannot increase "Working Days" because the end date of the Resource Booking is ${RB.endDate}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions