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

18 lines
437 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<p>
<%= _t('.body.generation_status_html',
{
STATUS: bool_to_sym(@attached_object.invoicing_disabled),
NAME: @attached_object.profile.full_name
})
# messageFormat
%>
</p>
<% if @attached_object.invoicing_disabled %>
<p><%= t('.body.disabled') %></p>
<% else %>
<p><%= t('.body.enabled') %></p>
<% end %>