mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
23ba44bc57
- Wrong trainings sessions was cancelled (in the past instead of in the futur) - Notifications about auto refunds was incorrect
14 lines
478 B
Plaintext
14 lines
478 B
Plaintext
<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
|
|
|
|
<p>
|
|
<%= t('.body.cancelled_training', {
|
|
TRAINING: @attached_object.trainings.first.name,
|
|
DATE: I18n.l(@attached_object.start_at.to_date),
|
|
START: I18n.l(@attached_object.start_at, format: :hour_minute),
|
|
END: I18n.l(@attached_object.end_at, format: :hour_minute)
|
|
}) %>
|
|
</p>
|
|
<p>
|
|
<%= @notification.get_meta_data(:auto_refund) ? t('.body.auto_refund') : t('.body.manual_refund') %>
|
|
</p>
|