1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/views/notifications_mailer/notify_admin_slot_is_canceled.html.erb
2022-07-20 16:20:09 +02:00

10 lines
515 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<p><%= t('.body.member_cancelled', NAME: @attached_object.reservation.user&.profile&.full_name || t('api.notifications.deleted_user')) %></p>
<p><%= t('.body.item_details',
START: I18n.l(@attached_object&.slot&.start_at, format: :long),
END: I18n.l(@attached_object&.slot&.end_at, format: :hour_minute),
RESERVABLE: @attached_object&.reservation&.reservable&.name) %>
</p>
<p><%= t('.body.generate_refund') %></p>