ProcedurePresentation: display dossier date in d/m/Y
This commit is contained in:
parent
3685c65fb7
commit
63db387984
3 changed files with 5 additions and 5 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue