Sha256: cc9daa3d8b3ca07816b7644abbb040365bff2fc4d87335303afdfb92fd099c42

Contents?: true

Size: 1.18 KB

Versions: 8

Compression:

Stored size: 1.18 KB

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 (non_impute(@payment) != 0.0)
    = icon_to 'imputation.png', new_payment_reglement_path(@payment), title: 'Imputer le solde sur une autre adhésion'
  %a.icon_menu{href:'#'}
    = image_tag("adherent/icones/printer.png", title:'Imprimer un reçu', 
      class:'icon_print')
  
  = icon_to 'modifier.png', edit_member_payment_path(@payment.member, @payment)
  = icon_to 'supprimer.png', [@member,@payment], method: :delete, data: {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 Commentaire :
      = @payment.comment
    %p
      %b Par :
      = @payment.mode
    %p
      %b Imputé sur :
      = list_imputations(@payment)
    %p
      %b Reste à imputer :
      = number_to_currency non_impute(@payment), locale: :fr
  

= render 'receipt'
  
    

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adherent-0.3.13 app/views/adherent/payments/show.html.haml
adherent-0.3.12 app/views/adherent/payments/show.html.haml
adherent-0.3.11 app/views/adherent/payments/show.html.haml
adherent-0.3.10 app/views/adherent/payments/show.html.haml
adherent-0.3.9 app/views/adherent/payments/show.html.haml
adherent-0.3.7 app/views/adherent/payments/show.html.haml
adherent-0.3.6 app/views/adherent/payments/show.html.haml
adherent-0.3.5 app/views/adherent/payments/show.html.haml