Sha256: 1b1ba7279c89687c53eda74de56cc26c671c730114170b7e52b88617aa27daaa

Contents?: true

Size: 1017 Bytes

Versions: 4

Compression:

Stored size: 1017 Bytes

Contents

= content_for :menu do
  = icon_to_users 
  = icon_to 'nouveau.png', new_member_adhesion_path(@member), title:'Nouvelle adhésion ou renouvellement'


.champ
  %h3 Historique des adhésions pour #{@member.to_s} 
  
  %table.table.table-striped.table-bordered.table-condensed(cellpadding="0" cellspacing="0" border="0")
    %thead
      %tr
        %th Du
        %th Au
        %th Montant
        %th Reste à payer
        %th Actions
    %tbody
      - @adhesions.each do |adhesion|
        %tr
          %td= adhesion.from_date
          %td= adhesion.to_date
          %td= number_to_currency(adhesion.amount, locale: :fr)
          %td= number_to_currency(adhesion.due, locale: :fr)
          %td
            = icon_to 'modifier.png', edit_member_adhesion_path(@member, adhesion)
            = icon_to 'supprimer.png', [@member,adhesion], method: :delete, confirm: 'Etes vous sûr ?'
            = icon_to('money-plus.png', new_member_payment_path(@member), title:'Ajouter un paiement') unless adhesion.is_paid?

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adherent-0.1.5 app/views/adherent/adhesions/index.html.haml
adherent-0.1.4 app/views/adherent/adhesions/index.html.haml
adherent-0.1.3 app/views/adherent/adhesions/index.html.haml
adherent-0.1.2 app/views/adherent/adhesions/index.html.haml