!!!Meal Penalty 
!!Time Rule Overview
The purpose of the Meal Penalty time rule is to apply a premium if the employee did not take their meal after the number of hours defined in the value of the time rule.  For more flexibility, the band now can hold the first interval for meal if this is different from the regular interval for meal.  It will take into consideration the day of the week, or if this is null the time rule will be applied on all days. 
!!Requirements / Features
*There are two variations of this time rule:
**If the specified premium is a fixed premium the premium will be applied once for every number of hours defined in the value. 
**If the premium is a variable premium the time rule will apply the premium after the number of hours defined in the value has been reached and will apply it to each hour thereafter until a break is reached or the shift has ended. 
*The [Value|TIME_RULE_VALUE] field will no longer be used to hold the day of the week, instead the day of the week has been turned into a column labeled DAY. 
*The Meal Penalty time rule has been updated to handle this new feature. If the Day column is null, the time rule will be applied to all days. 
*The Meal Penalty time rule requires the Meal time rule to be set up so that it can determine what time is considered as unpaid meal time.  With this set up, users will also see the meal time once the time sheet has been brought into pay transactions. 
*If a premium is not defined, the time rule will check to see if the "Meal Sched" time rule has been set up. If it has, the Meal Penalty will use the premium off of the qualifying Meal Sched band. 
*The Meal Penalty time rule has time rule helpers which may be set up, but are not required. 
**[Meal Sched|TR_MEAL_SCHED]
**[Min Meal Length |TR_MIN_MEAL_LENGTH]
**[Max Meals Award |TR_MAX_MEALS_AWARD]
**[Penalty Fix Interval|TR_PNTLY_FIX_INTRVL]

!!Additional  Info 
[Band|QUALIFYING_BAND]
*only one band is allowed
[Value|TIME_RULE_VALUE]
*interval for meals in hours
[Frequency|FREQUENCY]
*predefined as ‘Every Shift’

!!Implementation
The time rule should be set up in [IDWR] as shown below. See [Time Rule Improvements|TIME_RULE_IMPROVEMENTS] for additional information regarding [IDWR].

||[Band|QUALIFYING_BAND]||[From|FROM_CLOCK_TIME]||[To|TO_CLOCK_TIME] ||[Value|TIME_RULE_VALUE]||[Day Of Week |DAY_OF_WEEK]||[Time Code|TIME_CODE]||[Premium |PREMIUM_CODE]||[Action|TIME_RULE_ACTION]||Time Code Set
|First interval for meal(hrs)|No|No|Interval for meal (hrs)|Allowed|No|Yes|Add|Allowed


[{If var='loginstatus' contains 'authenticated'

----
![Discussion|Edit:Internal.TR_MEAL_PENALTY] 	
[{InsertPage page='Internal.TR_MEAL_PENALTY' default='Click to create a new discussion page'}] 	

}]