1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/app/views/notifications_mailer/notify_member_training_invalidated.html.erb
2023-04-24 19:17:07 +02:00

9 lines
361 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<%= t('.body.training_invalidated_html', **{
TRAINING: @attached_object.name,
MACHINES: @attached_object.machines.map(&:name).join(', '),
DATE: I18n.l((DateTime.current - @attached_object.authorization_period.months).to_date),
PERIOD: @attached_object.authorization_period
}) %>