Sha256: 7ec9859f52818f4e773b8b241a7144cde51fd3af7df5c71ab1ec3842e5e1da10

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 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 (@payment.non_impute != 0.0)
    = icon_to 'imputation.png', new_payment_reglement_path(@payment), title: 'Imputer le solde sur une autre adhésion'
  = link_to_function(image_tag("adherent/icones/printer.png"),
      "javascript:print()",
       class:'icon_menu', title:'Imprimer un reçu')  
  = 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 Par :
      = @payment.mode
    %p
      %b Imputé sur :
      = list_imputations(@payment)
    %p
      %b Reste à imputer :
      = number_to_currency @payment.non_impute, locale: :fr
  

= render 'receipt'
  
    

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
adherent-0.2.2.4 app/views/adherent/payments/show.html.haml
adherent-0.2.2.3 app/views/adherent/payments/show.html.haml
adherent-0.2.2.2 app/views/adherent/payments/show.html.haml
adherent-0.2.2.1 app/views/adherent/payments/show.html.haml
adherent-0.2.2 app/views/adherent/payments/show.html.haml
adherent-0.2.1 app/views/adherent/payments/show.html.haml
adherent-0.2.0 app/views/adherent/payments/show.html.haml