Sha256: 16c0ec800faf71b0c993a0f0122aaea53746cc831c4bfcfa325d26ec3151568c
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 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.col-lg-12 %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= adhesion.due %td = icon_to 'modifier.png', edit_member_adhesion_path(@member, adhesion) = icon_to 'supprimer.png', [@member,adhesion], method: :delete, data: {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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adherent-0.2.1 | app/views/adherent/adhesions/index.html.haml |
adherent-0.2.0 | app/views/adherent/adhesions/index.html.haml |