show some info from bilans
This commit is contained in:
parent
94862340f7
commit
75a268aed6
4 changed files with 51 additions and 0 deletions
|
@ -33,4 +33,8 @@ module EtablissementHelper
|
|||
'53' => '10 000 salariés et plus'
|
||||
}[etablissement.entreprise_code_effectif_entreprise]
|
||||
end
|
||||
|
||||
def pretty_date_exercice(date)
|
||||
date.sub(/(?<year>\d{4})(?<month>\d{2})/, '\k<month>/\k<year>') if date.present?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue