Sha256: 7346f2abde47db2c472f99ae9d669aad9cd86c07bb34f1b75b01cce3c52a747e

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

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{id:"adhesion_#{adhesion.id}"}
          %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.10 app/views/adherent/adhesions/index.html.haml
adherent-0.1.9 app/views/adherent/adhesions/index.html.haml
adherent-0.1.7 app/views/adherent/adhesions/index.html.haml
adherent-0.1.6 app/views/adherent/adhesions/index.html.haml