1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-15 00:24:09 +01:00
fab-manager/app/views/notifications_mailer/notify_admin_close_period_reminder.html.erb

9 lines
361 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<% if @attached_object.class.name == AccountingPeriod.name %>
<p><%= t('.body.warning_last_closed_period_over_1_year', LAST_END: @attached_object.end_at) %></p>
<% else %>
<p><%= t('.body.warning_no_closed_periods', FIRST_DATE: @attached_object.created_at.to_date) %></p>
<% end %>