ProcedurePresentation: display dossier date in d/m/Y

This commit is contained in:
simon lehericey 2018-10-26 09:21:01 +00:00
parent 3685c65fb7
commit 63db387984
3 changed files with 5 additions and 5 deletions

View file

@ -190,7 +190,7 @@ class ProcedurePresentation < ApplicationRecord
def get_value(dossier, table, column)
case table
when 'self'
dossier.send(column)
dossier.send(column)&.strftime('%d/%m/%Y')
when 'user', 'individual', 'etablissement'
dossier.send(table)&.send(column)
when 'type_de_champ'