IdentiteEntreprise: add safe navigator to access to rna information
This commit is contained in:
parent
75115aa206
commit
e44cd643b2
1 changed files with 3 additions and 3 deletions
|
@ -59,10 +59,10 @@
|
|||
%td= entreprise.rna_information.objet
|
||||
%tr
|
||||
%th Date de création :
|
||||
%td= entreprise.rna_information.date_creation.strftime("%d/%m/%Y")
|
||||
%td= entreprise.rna_information.date_creation&.strftime("%d/%m/%Y")
|
||||
%tr
|
||||
%th Date de publication :
|
||||
%td= entreprise.rna_information.date_publication.try(:strftime, "%d/%m/%Y")
|
||||
%td= entreprise.rna_information.date_publication&.strftime("%d/%m/%Y")
|
||||
%tr
|
||||
%th Date de déclaration :
|
||||
%td= entreprise.rna_information.date_declaration.strftime("%d/%m/%Y")
|
||||
%td= entreprise.rna_information.date_declaration&.strftime("%d/%m/%Y")
|
||||
|
|
Loading…
Reference in a new issue