Sha256: b4ccfa4ac65d34e4bdcb1bef64c455e393984b19b6c71a007be9764ad3236cb3

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

= content_for :menu do
  = icon_to 'navigation90.png', members_path, title:'Liste des membres'
  = 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

6 entries across 6 versions & 1 rubygems

Version Path
adherent-0.1.1 app/views/adherent/adhesions/index.html.haml
adherent-0.1.0 app/views/adherent/adhesions/index.html.haml
adherent-0.0.9 app/views/adherent/adhesions/index.html.haml
adherent-0.0.7 app/views/adherent/adhesions/index.html.haml
adherent-0.0.6 app/views/adherent/adhesions/index.html.haml
adherent-0.0.5 app/views/adherent/adhesions/index.html.haml