Decide who gets which meal
How to set rules: which category of students gets which meal type, at which tariff and how many times a day.
When you need this
A kiosk serves a meal only if there is a valid rule for the student's category and the meal type. The rule says how many servings a day are allowed and which tariff prices the portion. Create one for every "category - meal type" pair the school serves.
Before this, a category, a meal type and a tariff must exist. If there is no category or meal type, the button Create rule is inactive with the hint Create a category first or Create a meal type first.
- Open Meal rules and press Create rule.
- Choose Category and Meal type.
- Choose the Tariff. The rule cannot be saved without a tariff. The link Open meal tariffs leads to the list of tariffs.
- Set Max per day - a whole number above zero. It is the number of servings a day, not portions: a group of thirty served once a day needs a limit of 1.
- Set Valid from and, if you want, Valid to. The end date cannot be before the start.
- Choose Status and press Save rule.
The action Edit changes a rule, Deactivate switches it off. After changes press Refresh Session on the kiosks.
Two meals a day
If a category gets two meals, create two rules, one per type, each with its own tariff. For example, a benefit category eats breakfast at the general tariff and lunch at the city budget tariff. The windows of the two types may overlap: the kiosk records breakfast on the first scan and lunch on the next one while both windows are open. Keep the repeat-scan guard on (School details), so that an accidental double scan does not record lunch right after breakfast.
What you will see
A table with the category, the meal type, the Tariff column, the limit (Limit, with the note per day) and the period (Validity). If there is no tariff, the row says Tariff not set; such old rules work, but their portions have no price. If the tariff has no current price, no price stands next to it. The marks Inactive category and Inactive meal type show that the rule refers to a switched-off category or meal type.
If something goes wrong
- Select a tariff for this rule.: choose a tariff.
- Valid to must be on or after valid from.: fix the dates.
- This referenced record is not available. Select another value.: the chosen record is not available, choose another.
- The kiosk refuses: No active meal rule for this student. means there is no rule for the category and meal type, and Meal rule is not valid today. means it is not in force today (Why a student was not served).