fix(commune): add fallbacks to commune name resolution
This commit is contained in:
parent
f5bd129218
commit
02dcead04a
5 changed files with 81 additions and 17 deletions
|
@ -1,6 +1,5 @@
|
|||
- if champ.to_s.present?
|
||||
%p= format_text_value(champ.to_s)
|
||||
- if champ.data.present?
|
||||
%p
|
||||
Code INSEE :
|
||||
= champ.data['city_code']
|
||||
= format_text_value(champ.to_s)
|
||||
- if champ.full_address?
|
||||
Code INSEE :
|
||||
= champ.commune&.fetch(:code)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue