Sha256: 3e8bb09346c9dc0d06dcbdd2b5fecdbe59d534cd76153ea4b8e5a6cdd8ed6615

Contents?: true

Size: 346 Bytes

Versions: 8

Compression:

Stored size: 346 Bytes

Contents

module Adherent
  module PaymentsHelper
    def list_imputations(payment)
      
      content_tag(:ul) do
          payment.reglements.map do |r|
          content_tag(:li) do
            "Adhésion #{r.adhesion.member.to_s} pour #{number_to_currency(r.amount, locale: :fr)}"
          end
        end.join.html_safe
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adherent-0.1.3 app/helpers/adherent/payments_helper.rb
adherent-0.1.2 app/helpers/adherent/payments_helper.rb
adherent-0.1.1 app/helpers/adherent/payments_helper.rb
adherent-0.1.0 app/helpers/adherent/payments_helper.rb
adherent-0.0.9 app/helpers/adherent/payments_helper.rb
adherent-0.0.7 app/helpers/adherent/payments_helper.rb
adherent-0.0.6 app/helpers/adherent/payments_helper.rb
adherent-0.0.5 app/helpers/adherent/payments_helper.rb