2023-11-14 16:11:17 +01:00
|
|
|
- if dossier.for_tiers?
|
|
|
|
|
|
|
|
= render Dossiers::RowShowComponent.new(label: t('views.users.dossiers.identite.mandataire')) do |c|
|
|
|
|
- c.with_value do
|
|
|
|
%p= t('views.users.dossiers.identite.act_as_mandataire', mandataire: dossier.mandataire_full_name)
|
|
|
|
|
2023-07-03 22:41:46 +02:00
|
|
|
= render Dossiers::RowShowComponent.new(label: t('views.users.dossiers.identite.civility')) do |c|
|
|
|
|
- c.with_value do
|
2023-11-14 16:11:17 +01:00
|
|
|
%p= dossier.individual.gender
|
2023-07-03 22:41:46 +02:00
|
|
|
|
|
|
|
= render Dossiers::RowShowComponent.new(label: t('views.users.dossiers.identite.first_name')) do |c|
|
|
|
|
- c.with_value do
|
2023-11-14 16:11:17 +01:00
|
|
|
%p= dossier.individual.prenom
|
2023-07-03 22:41:46 +02:00
|
|
|
|
|
|
|
= render Dossiers::RowShowComponent.new(label: t('views.users.dossiers.identite.last_name')) do |c|
|
|
|
|
- c.with_value do
|
2023-11-14 16:11:17 +01:00
|
|
|
%p= dossier.individual.nom
|
2023-07-03 22:41:46 +02:00
|
|
|
|
2023-11-14 16:11:17 +01:00
|
|
|
- if dossier.individual.birthdate.present?
|
2023-07-03 22:41:46 +02:00
|
|
|
= render Dossiers::RowShowComponent.new(label: t('views.users.dossiers.identite.birthdate')) do |c|
|
|
|
|
- c.with_value do
|
2023-11-14 16:11:17 +01:00
|
|
|
%p= try_format_date(dossier.individual.birthdate)
|
|
|
|
|
|
|
|
- if dossier.for_tiers? && dossier.individual.email?
|
|
|
|
= render Dossiers::RowShowComponent.new(label: t('activerecord.attributes.individual.email')) do |c|
|
|
|
|
- c.with_value do
|
|
|
|
%p= dossier.individual.email
|