1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-05 20:46:14 +01:00
fab-manager/app/views/notifications_mailer/notify_member_payment_schedule_ready.html.erb
Sylvain e5439901d6 fix generate payment schedule pdf + send by mail
TODO: total amount does not match with sum of all lines
- generate invoices for each PS-item
- interface to access the payment schedules
2021-01-19 16:47:51 +01:00

21 lines
551 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.scheduled_type
})
# messageFormat
%>
</p>
<p><%= t('.body.schedule_in_your_dashboard_html',
DASHBOARD: link_to(
t('.body.your_dashboard'),
"#{root_url}#!/dashboard/invoices"
)
) %>
</p>