Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When absence is concluded, update end date #79

Open
supremefist opened this issue Sep 14, 2016 · 11 comments
Open

When absence is concluded, update end date #79

supremefist opened this issue Sep 14, 2016 · 11 comments

Comments

@supremefist
Copy link
Collaborator

No description provided.

@TRyujin
Copy link

TRyujin commented Dec 5, 2017

Is it possible to implement this automation? It's becoming common that we can't set a new absence because concluded absence ends after the new absence begins.

@supremefist
Copy link
Collaborator Author

supremefist commented Dec 5, 2017 via email

@supremefist
Copy link
Collaborator Author

Are you sure it is not better to just edit the concluded absence to end on the specific date required? E.g. the current date? Otherwise, there is no way to distinguish between someone editing the end date of a concluded absence and someone concluding an absence for which the end date should be updated automatically.

@TRyujin
Copy link

TRyujin commented Jan 18, 2018

Afaik currently we can't edit concluded absences (not sure if we can edit non-concluded either), so what happens is that absence is concluded earlier of it's end date, but original end date still stays.

@CNTODachi
Copy link

You can edit both have just done so on the roster.

@Abuk007
Copy link

Abuk007 commented Jan 18, 2018

Can we have it so when you conclude the absence it sets current date as end date? This would sort it out.

@supremefist
Copy link
Collaborator Author

@Abuk007 This is what I'm saying - what's the difference then between editing the end date and concluding an absence (also editing the end date). Also, what if you conclude an absence long after it ended?

@Abuk007
Copy link

Abuk007 commented Jan 18, 2018

If from calculational perspective there's no difference, then "conclude" should just edit end date.

From perspective of people managing end users - its single click to end absence - versus editing, opening a calendar and selecting current date and saving.

@supremefist
Copy link
Collaborator Author

There is a big difference, as we don't remain on the date that the absence really concluded for very long (24h). At the moment you have full freedom to create, edit and remove past, future or present absences (concluded or not). You will have to sacrifice this freedom if you want the end date to always be on the date that the absence is physically concluded on the roster.

@Abuk007
Copy link

Abuk007 commented Jan 18, 2018

Not sure I understand the technicality behind those limitations.

Could you explain what's the difference between "concluded" and past "end date"?
(Does "concluded" status act as some sort of indicator/flag for calculations?)

How does concluding limit possibilities to edit?

@supremefist
Copy link
Collaborator Author

supremefist commented Jan 18, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants