utilise un ordre plus logique pour identite entreprise
homogenise l'affichage des valeurs monétaires elargit la colonne libellé
This commit is contained in:
parent
316c56886e
commit
81fa1d0e89
4 changed files with 63 additions and 47 deletions
|
@ -1,6 +1,11 @@
|
|||
module EtablissementHelper
|
||||
def pretty_currency(capital_social)
|
||||
number_to_currency(capital_social, locale: :fr)
|
||||
def pretty_currency(capital_social, unit: '€')
|
||||
number_to_currency(capital_social, locale: :fr, unit: unit)
|
||||
end
|
||||
|
||||
def pretty_currency_unit(unit)
|
||||
dict = { 'kEuros' => 'k€' }
|
||||
dict[unit]
|
||||
end
|
||||
|
||||
def raison_sociale_or_name(etablissement)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue