Classes

Time slots

Time slots define when a class takes place each week. They are the recurring building blocks of your club's timetable. For example, your "Advanced BJJ" class might have time slots on Monday 19:00-20:30 and Thursday 19:00-20:30, while "Kids Judo" runs on Wednesday 16:00-17:00 and Saturday 10:00-11:00.


How time slots work

Each class stores its weekly schedule as a set of time slots grouped by day of the week. A time slot consists of a start time and an end time on a specific day. Omoplata uses these slots to automatically generate individual sessions (occurrences) for the next 12 months.

When you define a time slot for Monday at 19:00-20:30, Omoplata creates an occurrence for every Monday at that time. If a Monday falls on a public holiday in your region, the occurrence is still created but marked as cancelled, so it appears crossed out on the timetable.


Setting up time slots

Time slots are configured when you create or edit a class. The time slot editor shows a table with all seven days of the week.

Adding a time slot

  1. Check the box next to the day you want to schedule (e.g., Monday).
  2. Enter the start time and end time using the time pickers. Times use 24-hour format (e.g., 19:00 for 7pm).
  3. To add another slot on the same day, click the + button. This is useful for clubs that run the same class at different times, such as "Open Mat" at 07:00-08:00 and again at 12:00-13:00.

Removing a time slot

Click the delete icon next to a time slot to remove it. To remove all slots for a day, uncheck the day's checkbox.

Multiple slots per day

A class can have multiple time slots on the same day. Each slot generates its own separate occurrence. For example, if "Fundamentals BJJ" has two slots on Tuesday -- one at 12:00-13:00 and another at 19:00-20:30 -- two independent occurrences are created for every Tuesday, each with its own attendance tracking.

At least one time slot is required

Every class must have at least one time slot defined. The form will show a validation error if you try to save a class without any scheduled times.


Viewing time slots

To see the time slots for a specific class, navigate to the class detail page and click Time slots in the sidebar. This displays a table with:

  • Day -- The day of the week (e.g., Monday, Wednesday).
  • Time -- The start and end time for each slot (e.g., 19:00 - 20:30).
  • Members -- If the class requires assignment, this column shows which members are assigned to each specific slot.

How time slots generate occurrences

When a class is created or its time slots are modified, Omoplata automatically generates occurrences. Here is how the process works:

  1. For each time slot, Omoplata looks at every matching day of the week within the scheduling window (typically the past month through 12 months into the future).
  2. An occurrence is created for each date with the exact start and end times from the slot.
  3. If the date falls on a recognized public holiday, the occurrence is created with a cancelled status and the holiday name is stored.
  4. Each occurrence receives a reference code (e.g., "1-0" for the first slot on Monday) that links it back to its source time slot. This reference is used for class assignments and attendance tracking.

Changing time slots affects future sessions

When you edit time slots on an existing class, future occurrences are recalculated. Past occurrences are not affected -- their attendance records and original times are preserved. If you need to change the time of a single session without altering the recurring schedule, use a trainer override on the individual occurrence instead.


Weekly timetable

The main Classes page displays a weekly timetable built from all occurrences across your classes. The calendar adapts its visible days based on your schedule:

  • Monday through Friday are always shown.
  • Saturday is shown if any class has sessions on Saturday or Sunday.
  • Sunday is shown only if classes are scheduled on that day.

The visible time range also adjusts automatically. If your earliest class starts at 09:00 and your latest ends at 21:00, the calendar shows roughly 08:00 to 23:00, providing a buffer around your active hours.