Browse Source

fixup! [FIX] b_shift : email_template_non_attendance

pull/143/head
Elouan Le Bars 4 years ago
parent
commit
0457020764
  1. 16
      beesdoo_shift/data/mail_template.xml

16
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
<br>
% 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:
<br><br>Your current status is "${object.worker_id.cooperative_status_ids.get_status_value()}".
% endif
<br>If you have any question regarding this non-attendance, just answer this e-mail.

Loading…
Cancel
Save