diff --git a/beesdoo_shift/data/mail_template.xml b/beesdoo_shift/data/mail_template.xml index 265bb55..3ef524b 100644 --- a/beesdoo_shift/data/mail_template.xml +++ b/beesdoo_shift/data/mail_template.xml @@ -41,8 +41,20 @@ % endif % 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}. + Your shift counter is at ${object.worker_id.cooperative_status_ids.sr}. + + % if object.worker_id.cooperative_status_ids.future_alert_date: + It should be superior or equal to 1 before the + ${object.worker_id.cooperative_status_ids.future_alert_date}. + % endif +
+ % endif + + % if object.replaced_id: + You were supposed to replace ${object.worker_id.name} and your + current status is "${object.replaced_id.cooperative_status_ids.get_status_value()}". + % else: +

Your current status is "${object.worker_id.cooperative_status_ids.get_status_value()}". % endif
If you have any question regarding this non-attendance, just answer this e-mail.