FET Forum

FET Development => Suggestions => Topic started by: math on January 09, 2019, 08:23:55 AM

Title: Excluding activities from being printe in timetable
Post by: math on January 09, 2019, 08:23:55 AM
I added some dummy activities to my current FET configuration, e.g. for blocking specific days. FET is working perfectly, generating timetables that exactly match my requirements. However, these dummy elements are appearing in the generated timetable pdfs. Even though the title of those activities is "Please ignore", it would be much better to have a schedule that omits those dummy elements.

Would it be possible to add a "print" checkbox to the activity dialog (just like the "active" checkbox). By default this checkbox may be active. When deselecting it, the activitiy gets scheduled just like any other activity, but it does not appear in any output.

I admit that there's the danger that the administrator forgets about those "invisible" activities. For mitigating this problem an additional information dialog could be displayed at schedule generation time:
"Warning. The current schedule contains one or more activities that are marked to be omitted when printing. Those activities are:
ID 274 - "Dummy, please ignore" - Thursday 10am, ....
ID 411 - "Dummy, please ignore" - Monday, 2pm, ...
..."
Title: Re: Excluding activities from being printe in timetable
Post by: Liviu Lalescu on January 09, 2019, 10:03:00 AM
1) Would you agree for a custom version? It is easy. Because I am reluctant to add this in the official.

2) Maybe you can use the constraint activities occupy max time slots from selection instead of dummy activities. With this constraint you can force a teacher or subgroup to have at least x hours on a particular day.

3) Maybe you could make the dummy subject name "---"? So it is identical with the space?
Title: Re: Excluding activities from being printe in timetable
Post by: Volker Dirr on January 09, 2019, 05:45:00 PM
or
4)
import the FET file into substitution software TiTiTo, since you can remove the dummy activities there very easy and print the timetable without them. You can download the software in this forum. Just check the latetst "TiTiTo-X.X.X released" message.
https://lalescu.ro/liviu/fet/forum/index.php?board=36.0

open the TiTiTo software and only do this 3 steps:
TiTiTo -> Settings -> Timetable -> Import (so import your fet file from the fet-results folder)
TiTiTo -> Activities -> Plan activities 2 -> Uncheck the x in coloum "A" (shortcut for "active")
TiTiTo -> Timetable -> Print (or Export) to get the new timetable without the unactive activities
Title: Re: Excluding activities from being printe in timetable
Post by: math on January 14, 2019, 05:00:56 PM
Thanks a lot for your replies.

If you're reluctant to add this in the official version, it's not important enough to spend time for a individual version. I'm going for option 3. Option 4 is also a good idea, but it means additional work for me. ;-) Maybe I go for option 4 in the very final version of the timetable that gets published.
Title: Re: Excluding activities from being printe in timetable
Post by: Liviu Lalescu on January 14, 2019, 05:20:36 PM
OK, I am sorry I cannot add this in the official  :-[