1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/views/notifications_mailer/notify_member_payment_schedule_ready.html.erb
Sylvain 87cd41794e WIP: payzen subscription
TODO: retreive the payzen subscription from PayZen::Item
2021-06-02 20:07:53 +02:00

21 lines
569 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<p>
<%= _t('.body.please_find_attached_html',
{
DATE: I18n.l(@attached_object.created_at.to_date),
AMOUNT: number_to_currency(@attached_object.total / 100.0),
TYPE: @attached_object.main_object.object_type
})
# messageFormat
%>
</p>
<p><%= t('.body.schedule_in_your_dashboard_html',
DASHBOARD: link_to(
t('.body.your_dashboard'),
"#{root_url}#!/dashboard/payment_schedules"
)
) %>
</p>