When inserting your classes in the settings page, you're able to create an unlimited amount of classes, and select their block, type, color, name, etc. However, users should never need to configure more than one class for each block. Only exception would be things like after-school clubs/sports, advisory etc., which the user should still be able to add an unlimited amount of.
By limiting this, we could pre-populate the form with a class for each block, so it might be overall easier to configure them. From a back-end perspective, this would clear up confusion about which class type to use when determining first lunch/second lunch if multiple classes are configured for the same block but with different types. The user shouldn't ever have to do configure multiple classes per block anyways.
When inserting your classes in the settings page, you're able to create an unlimited amount of classes, and select their block, type, color, name, etc. However, users should never need to configure more than one class for each block. Only exception would be things like after-school clubs/sports, advisory etc., which the user should still be able to add an unlimited amount of.
By limiting this, we could pre-populate the form with a class for each block, so it might be overall easier to configure them. From a back-end perspective, this would clear up confusion about which class type to use when determining first lunch/second lunch if multiple classes are configured for the same block but with different types. The user shouldn't ever have to do configure multiple classes per block anyways.