Sha256: 3eba3b44f447e95ed0371976d6f4ccf7067ac52e41115c67612dc150abd94522

Contents?: true

Size: 961 Bytes

Versions: 4

Compression:

Stored size: 961 Bytes

Contents

= content_for :menu do
  = icon_to 'payment.png', member_payments_path(@member), title:"Liste des paiements de #{@member.to_s}" 
  = icon_to 'money-plus.png', new_member_payment_path(@member), title:'Nouveau paiement'
  - if (@payment.non_impute != 0.0)
    = icon_to 'imputation.png', new_payment_reglement_path(@payment), title: 'Imputer le solde sur une autre adhésion'
  = icon_to 'modifier.png', edit_member_payment_path(@payment.member, @payment)
  = icon_to 'supprimer.png', [@member,@payment], method: :delete, confirm: 'Etes vous sûr ?'


.champ
  %h3 Détail d'un paiement

.inner-champ
  %p
    %b Effectué par :
    = @member.to_s
  %p
    %b Le :
    = @payment.date
  %p
    %b Montant :
    = number_to_currency(@payment.amount, locale: :fr)
  %p
    %b Par :
    = @payment.mode
  %p
    %b Imputé sur :
    = list_imputations(@payment)
  %p
    %b Reste à imputer :
    = number_to_currency @payment.non_impute, locale: :fr
  
            

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adherent-0.1.7 app/views/adherent/payments/show.html.haml
adherent-0.1.6 app/views/adherent/payments/show.html.haml
adherent-0.1.5 app/views/adherent/payments/show.html.haml
adherent-0.1.4 app/views/adherent/payments/show.html.haml