<%= notice %>

<%= t('members.show.title') %>

<%= t('members.attributes.display_name') %><%= @member.display_name %>
<%= t('members.attributes.email') %><%= @member.email %>
<%= t('members.attributes.category') %><%= @member.category %>
<%= t('members.attributes.identification_number') %><%= @member.identification_number %>
<%= t('members.attributes.address') %><%= simple_format @member.address %>
<%= t('members.attributes.joined_on') %><%= @member.joined_on %>
<%= t('members.attributes.expires_on') %><%= @member.expires_on %>
<%= t('members.attributes.status') %><%= @member.status %>
<%= link_to t('members.show.actions.edit'), edit_member_path(@member) %>

<%= t('members.show.contribution_history') %>

<% @member.contributions.each do |contribution| %> <% end %>
<%= t('contributions.attributes.payment_on') %> <%= t('contributions.attributes.payment_method') %> <%= t('contributions.attributes.payment_reference') %> <%= t('contributions.attributes.amount') %>
<%= contribution.payment_on %> <%= contribution.payment_method %> <%= contribution.payment_reference %> €<%= contribution.eurocents %>
  • <%= link_to t('members.show.actions.edit_contribution'), edit_contribution_path(contribution) %>
  • <%= link_to t('members.show.actions.delete_contribution'), delete_contribution_path(contribution) %>

<%= t('members.show.notifications') %>

<% @member.notifications.order(to_be_sent_on: :desc).each do |notification| %> <% end %>
<%= t('notifications.attributes.to_be_sent_on') %> <%= t('notifications.attributes.template') %> <%= t('notifications.attributes.status') %>
<%= notification.to_be_sent_on %> <%= notification.template %> <%= notification_status(notification.status) %>