1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
fab-manager/app/views/notifications_mailer/notify_member_invoice_ready.html.erb
2016-03-23 18:39:41 +01:00

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