Hello ${object.replaced_id.name},
+ % if object.replaced_id: +Hello ${object.replaced_id.name}, -
You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).
-
You were supposed to replace ${object.worker_id.name}.
- % endif
+
You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}),
+ and you were supposed to replace ${object.worker_id.name}.
+
Your current status is "${object.worker_id.cooperative_status_ids.get_status_value()}".
+ % endif
- % if object.worker_id:
-
Hello ${object.worker_id.name},
+ % if not object.replaced_id: +Hello ${object.worker_id.name},
-You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).
-
- % endif
+
You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).
+
Your current status is "${object.worker_id.cooperative_status_ids.get_status_value()}".
+ % endif
- % if object.state == 'absent_0':
- Super-cooperator assigned you 0 compensation, so you won't have any additionnal shift to do.
- % endif
- % if object.state == 'absent_1':
- Super-cooperator assigned you 1 compensation, so you have to attend another shift.
- % endif
- % if object.state == 'absent_2':
- Super-cooperator assigned you 2 compensations, so you have to attend 2 anothers shifts.
- % endif
+ % if object.worker_id.working_mode == 'regular':
+ % if object.state == 'absent_0':
+
Super-cooperator assigned you 0 compensation, so you won't have any additionnal shift to do before your next regular shift.
+ % endif
+ % if object.state == 'absent_1':
+
Super-cooperator assigned you 1 compensation, so you have to attend one additionnal shift before your next regular shift.
+ % endif
+ % if object.state == 'absent_2':
+
Super-cooperator assigned you 2 compensations, so you have to attend two additionnal shifts before your next regular shift.
+ % endif
+ % endif
-
Your status have been updated to "${object.worker_id.state}".
-
If you have any question regarding this non-attendance, just answer this e-mail.
-
Cooperatively yours,
- The Members' office volunteers
${object.worker_id.company_id.name}.
+ % if object.worker_id.working_mode == 'irregular': + Your shift counter is ${object.worker_id.cooperative_status_ids.sr}. + You should be at a minimum of 0 before the ${object.worker_id.cooperative_status_ids.future_alert_date}. + % endif - % if object.worker_id.company_id.street: - ${object.worker_id.company_id.street} - % endif - % if object.worker_id.company_id.street2: - ${object.worker_id.company_id.street2}Cooperatively yours,
+ The Members' office volunteers
${object.worker_id.company_id.name}.
- % if object.worker_id.company_id.website: -