FET Forum

FET Development => Suggestions => Topic started by: Liviu Lalescu on September 03, 2019, 05:52:49 PM

Title: Teachers max hours daily, max span per day, max hours continuously w. exceptions
Post by: Liviu Lalescu on September 03, 2019, 05:52:49 PM
I saw there were some users suggesting these: teacher(s) max hours daily, max span per day, or max hours continuously, with exceptions.

I think it is possible to add a one day exception in which the teachers can have +1 hour (or span). It is not easy, but should be possible. It is also a bit risky because of possible bugs, but this was always a risk in adding new features to FET.

Do you think it is worth exploring this exception feature?
Title: Re: Teachers max hours daily, max span per day, max hours continuously w. exceptions
Post by: davvidde on October 16, 2019, 01:15:46 AM
Yes, I think it's will be very useful.
Title: Re: Teachers max hours daily, max span per day, max hours continuously w. exceptions
Post by: Liviu Lalescu on October 17, 2019, 09:53:53 PM
Thank you for your opinion!

I added teacher(s) max span per day with 1 day exception in FET-5.40.0. I hope it works OK. The other two (teacher(s) max hours daily and max hours continuously) are too difficult, at least for now.
Title: Re: Teachers max hours daily, max span per day, max hours continuously w. exceptions
Post by: dimzev on October 18, 2019, 10:51:03 PM
yes i think will be helpful!!!
Title: Re: Teachers max hours daily, max span per day, max hours continuously w. exceptions
Post by: Giggino on September 30, 2020, 11:07:35 AM
Hi, this is very useful, i'm using it.
Nevertheless it would be useful to be able to make exceptions on teacher basis too.
For example i would like to set max span per day for all to 4 with one day exception, except some teacher that are available only some days and are forced to do 5 hours more that one day.
I mean, if i set max span per day for all teacher and only one teacher is forced to have a different setting, i have to set max span per day manually for each teacher.

Is it correct or i could do something different?

In other words it would be useful that setting for all teachers/students/... is the default  and if i set the same setting over a teacher, this setting should overwrite the default.

Regard

Title: Re: Teachers max hours daily, max span per day, max hours continuously w. exceptions
Post by: Liviu Lalescu on October 06, 2020, 03:49:15 PM
Hello,

Each constraint must be respected. Unfortunately, you need to add a constraint for each teacher. Only if all teachers have max allowed = 5 and a teacher has max allowed = 4, you can add a general constraint with 5 and a particular constraint with 4.