Skip to content

Commit

Permalink
Merge pull request #2014 from MTES-MCT/bugfix/1910-bo-nouveau-signale…
Browse files Browse the repository at this point in the history
…ment-type-declarant

[BO - Nouveau signalement] Préciser le type de déclarant dans l'en tête
  • Loading branch information
sfinx13 authored Dec 7, 2023
2 parents 5e610b1 + b516fd9 commit 18a4e14
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion templates/back/signalement/view/header.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,12 @@
{% else %}
par un
{% endif %}
{{ signalement.profileDeclarant.label }}

{% if signalement.profileDeclarant is same as enum('App\\Entity\\Enum\\ProfileDeclarant').BAILLEUR %}
tiers bailleur
{% else %}
{{ signalement.profileDeclarant.label|lower }}
{% endif %}
{% else %}
{% if signalement.isNotOccupant %}
par un tiers déclarant
Expand Down

0 comments on commit 18a4e14

Please sign in to comment.