Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FO / BO - Non-Decence Energetique] Ajuster critères #3676

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 0 additions & 76 deletions assets/json/Signalement/desordres_profile_occupant.json
Original file line number Diff line number Diff line change
Expand Up @@ -1700,82 +1700,6 @@
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_chauffage_dangereux === 1"
}
},
{
"type": "SignalementFormOnlyChoice",
"label": "Quand le DPE de votre logement a-t-il été réalisé ?",
"slug": "desordres_logement_chauffage_details_dpe_annee",
"conditional": {
"show": "(formStore.data.desordres_logement_chauffage_details_fenetres_permeables === 1 || formStore.data.desordres_logement_chauffage_details_difficultes_chauffage === 1 || formStore.data.desordres_logement_chauffage_details_chauffage_KO === 1 ) && formStore.data.bail_dpe_dpe === 'oui'"
},
"values": [
{
"label": "{{dictionaryStore::post2023}}",
"value": "post2023"
},
{
"label": "{{dictionaryStore::before2023}}",
"value": "before2023"
}
],
"validate": {
"message": "Veuillez indiquer quand le DPE a été réalisé."
}
},
{
"type": "SignalementFormCounter",
"label": "{{dictionaryStore::desordres_logement_chauffage_details_dpe_conso_finale}} (facultatif)",
"description": "Format attendu : Saisir un nombre entier",
"slug": "desordres_logement_chauffage_details_dpe_conso_finale",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'post2023'"
},
"validate": {
"pattern": "^[0-9]*$",
"patternMessage": "Veuillez saisir une consommation en énergie valide.",
"required": false
},
"defaultValue": 1
},
{
"type": "SignalementFormCounter",
"label": "Quelle est la superficie de votre logement ? (m²) (facultatif)",
"description": "Format attendu : Saisir un nombre entier",
"slug": "composition_logement_superficie",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023'"
},
"validate": {
"pattern": "^[0-9]*$",
"patternMessage": "Veuillez renseigner une superficie valide.",
"required": false
}
},
{
"type": "SignalementFormCounter",
"label": "Quelle est la consommation en énergie indiquée sur le DPE ? (kWh/an) (facultatif)",
"description": "Format attendu : Saisir un nombre entier",
"slug": "desordres_logement_chauffage_details_dpe_conso",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023'"
},
"defaultValue": 1,
"validate": {
"pattern": "^[0-9]*$",
"patternMessage": "Veuillez renseigner une consommation en énergie valide.",
"required": false
}
},
{
"type": "SignalementFormCheckbox",
"label": "Mon DPE est vide",
"slug": "desordres_logement_chauffage_details_dpe_conso_vide",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'post2023' || formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023'"
},
"validate": {
"required": false
}
}
]
}
Expand Down
76 changes: 0 additions & 76 deletions assets/json/Signalement/desordres_profile_tiers.json
Original file line number Diff line number Diff line change
Expand Up @@ -1726,82 +1726,6 @@
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_chauffage_dangereux === 1"
}
},
{
"type": "SignalementFormOnlyChoice",
"label": "{{dictionaryStore::desordres_logement_chauffage_details_dpe_annee}}",
"slug": "desordres_logement_chauffage_details_dpe_annee",
"conditional": {
"show": "(formStore.data.desordres_logement_chauffage_details_fenetres_permeables === 1 || formStore.data.desordres_logement_chauffage_details_difficultes_chauffage === 1 || formStore.data.desordres_logement_chauffage_details_chauffage_KO === 1 ) && formStore.data.bail_dpe_dpe === 'oui'"
},
"values": [
{
"label": "{{dictionaryStore::post2023}}",
"value": "post2023"
},
{
"label": "{{dictionaryStore::before2023}}",
"value": "before2023"
}
],
"validate": {
"message": "Veuillez indiquer quand le DPE a été réalisé."
}
},
{
"type": "SignalementFormCounter",
"label": "{{dictionaryStore::desordres_logement_chauffage_details_dpe_conso_finale}} (facultatif)",
"description": "Format attendu : Saisir un nombre entier",
"slug": "desordres_logement_chauffage_details_dpe_conso_finale",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'post2023'"
},
"validate": {
"pattern": "^[0-9]*$",
"patternMessage": "Veuillez renseigner une consommation en énergie valide.",
"required": false
},
"defaultValue": 1
},
{
"type": "SignalementFormCounter",
"label": "{{dictionaryStore::composition_logement_superficie}} (facultatif)",
"description": "Format attendu : Saisir un nombre entier",
"slug": "composition_logement_superficie",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023'"
},
"validate": {
"pattern": "^[0-9]*$",
"patternMessage": "Veuillez renseigner une superficie valide.",
"required": false
}
},
{
"type": "SignalementFormCounter",
"label": "{{dictionaryStore::desordres_logement_chauffage_details_dpe_conso}} (facultatif)",
"description": "Format attendu : Saisir un nombre entier",
"slug": "desordres_logement_chauffage_details_dpe_conso",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023'"
},
"defaultValue": 1,
"validate": {
"pattern": "^[0-9]*$",
"patternMessage": "Veuillez renseigner une consommation en énergie valide.",
"required": false
}
},
{
"type": "SignalementFormCheckbox",
"label": "{{dictionaryStore::desordres_logement_chauffage_details_dpe_conso_vide}} (facultatif)",
"slug": "desordres_logement_chauffage_details_dpe_conso_vide",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'post2023' || formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023'"
},
"validate": {
"required": false
}
}
]
}
Expand Down
30 changes: 30 additions & 0 deletions assets/json/Signalement/questions_profile_bailleur.json
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,36 @@
"validate": {
"message": "Veuillez indiquer la classe énergétique pour le logement."
}
},
{
"type": "SignalementFormOnlyChoice",
"label": "Quand le DPE de votre logement a-t-il été réalisé ?",
"slug": "desordres_logement_chauffage_details_dpe_annee",
"values": [
{
"label": "{{dictionaryStore::post2023}}",
"value": "post2023"
},
{
"label": "{{dictionaryStore::before2023}}",
"value": "before2023"
},
{
"label": "{{dictionaryStore::nsp}}",
"value": "nsp"
}
],
"validate": {
"message": "Veuillez indiquer quand le DPE a été réalisé."
}
},
{
"type": "SignalementFormWarning",
"slug": "bail_dpe_date_warning",
"label": "Les DPE réalisés <u>avant le 30 juin 2021</u> ne sont plus valables. Si le DPE du logement a été réalisé avant le 30 juin 2021, vous devez faire réaliser un nouveau DPE.",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023' || formStore.data.desordres_logement_chauffage_details_dpe_annee === 'nsp'"
}
}
],
"footer": [
Expand Down
30 changes: 30 additions & 0 deletions assets/json/Signalement/questions_profile_bailleur_occupant.json
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,36 @@
"validate": {
"message": "Veuillez indiquer la classe énergétique pour le logement."
}
},
{
"type": "SignalementFormOnlyChoice",
"label": "Quand le DPE de votre logement a-t-il été réalisé ?",
"slug": "desordres_logement_chauffage_details_dpe_annee",
"values": [
{
"label": "{{dictionaryStore::post2023}}",
"value": "post2023"
},
{
"label": "{{dictionaryStore::before2023}}",
"value": "before2023"
},
{
"label": "{{dictionaryStore::nsp}}",
"value": "nsp"
}
],
"validate": {
"message": "Veuillez indiquer quand le DPE a été réalisé."
}
},
{
"type": "SignalementFormWarning",
"slug": "bail_dpe_date_warning",
"label": "Les DPE réalisés <u>avant le 30 juin 2021</u> ne sont plus valables. Si le DPE du logement a été réalisé avant le 30 juin 2021, vous devez faire réaliser un nouveau DPE.",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023' || formStore.data.desordres_logement_chauffage_details_dpe_annee === 'nsp'"
}
}
],
"footer": [
Expand Down
30 changes: 30 additions & 0 deletions assets/json/Signalement/questions_profile_locataire.json
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,36 @@
"validate": {
"message": "Veuillez indiquer la classe énergétique pour le logement."
}
},
{
"type": "SignalementFormOnlyChoice",
"label": "Quand le DPE de votre logement a-t-il été réalisé ?",
"slug": "desordres_logement_chauffage_details_dpe_annee",
"values": [
{
"label": "{{dictionaryStore::post2023}}",
"value": "post2023"
},
{
"label": "{{dictionaryStore::before2023}}",
"value": "before2023"
},
{
"label": "{{dictionaryStore::nsp}}",
"value": "nsp"
}
],
"validate": {
"message": "Veuillez indiquer quand le DPE a été réalisé."
}
},
{
"type": "SignalementFormWarning",
"slug": "bail_dpe_date_warning",
"label": "Les DPE réalisés <u>avant le 30 juin 2021</u> ne sont plus valables. Si le DPE du logement a été réalisé avant le 30 juin 2021, demandez au propriétaire / bailleur du logement de réaliser un nouveau DPE.",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023' || formStore.data.desordres_logement_chauffage_details_dpe_annee === 'nsp'"
}
}
],
"footer": [
Expand Down
30 changes: 30 additions & 0 deletions assets/json/Signalement/questions_profile_service_secours.json
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,36 @@
"validate": {
"message": "Veuillez indiquer la classe énergétique pour le logement."
}
},
{
"type": "SignalementFormOnlyChoice",
"label": "Quand le DPE de votre logement a-t-il été réalisé ?",
"slug": "desordres_logement_chauffage_details_dpe_annee",
"values": [
{
"label": "{{dictionaryStore::post2023}}",
"value": "post2023"
},
{
"label": "{{dictionaryStore::before2023}}",
"value": "before2023"
},
{
"label": "{{dictionaryStore::nsp}}",
"value": "nsp"
}
],
"validate": {
"message": "Veuillez indiquer quand le DPE a été réalisé."
}
},
{
"type": "SignalementFormWarning",
"slug": "bail_dpe_date_warning",
"label": "Les DPE réalisés <u>avant le 30 juin 2021</u> ne sont plus valables. Si le DPE du logement a été réalisé avant le 30 juin 2021, demandez au propriétaire / bailleur du logement de réaliser un nouveau DPE.",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023' || formStore.data.desordres_logement_chauffage_details_dpe_annee === 'nsp'"
}
}
],
"footer": [
Expand Down
30 changes: 30 additions & 0 deletions assets/json/Signalement/questions_profile_tiers_particulier.json
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,36 @@
"validate": {
"message": "Veuillez indiquer la classe énergétique pour le logement."
}
},
{
"type": "SignalementFormOnlyChoice",
"label": "Quand le DPE de votre logement a-t-il été réalisé ?",
"slug": "desordres_logement_chauffage_details_dpe_annee",
"values": [
{
"label": "{{dictionaryStore::post2023}}",
"value": "post2023"
},
{
"label": "{{dictionaryStore::before2023}}",
"value": "before2023"
},
{
"label": "{{dictionaryStore::nsp}}",
"value": "nsp"
}
],
"validate": {
"message": "Veuillez indiquer quand le DPE a été réalisé."
}
},
{
"type": "SignalementFormWarning",
"slug": "bail_dpe_date_warning",
"label": "Les DPE réalisés <u>avant le 30 juin 2021</u> ne sont plus valables. Si le DPE du logement a été réalisé avant le 30 juin 2021, demandez au propriétaire / bailleur du logement de réaliser un nouveau DPE.",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023' || formStore.data.desordres_logement_chauffage_details_dpe_annee === 'nsp'"
}
}
],
"footer": [
Expand Down
30 changes: 30 additions & 0 deletions assets/json/Signalement/questions_profile_tiers_pro.json
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,36 @@
"validate": {
"message": "Veuillez indiquer la classe énergétique pour le logement."
}
},
{
"type": "SignalementFormOnlyChoice",
"label": "Quand le DPE de votre logement a-t-il été réalisé ?",
"slug": "desordres_logement_chauffage_details_dpe_annee",
"values": [
{
"label": "{{dictionaryStore::post2023}}",
"value": "post2023"
},
{
"label": "{{dictionaryStore::before2023}}",
"value": "before2023"
},
{
"label": "{{dictionaryStore::nsp}}",
"value": "nsp"
}
],
"validate": {
"message": "Veuillez indiquer quand le DPE a été réalisé."
}
},
{
"type": "SignalementFormWarning",
"slug": "bail_dpe_date_warning",
"label": "Les DPE réalisés <u>avant le 30 juin 2021</u> ne sont plus valables. Si le DPE du logement a été réalisé avant le 30 juin 2021, demandez au propriétaire / bailleur du logement de réaliser un nouveau DPE.",
"conditional": {
"show": "formStore.data.desordres_logement_chauffage_details_dpe_annee === 'before2023' || formStore.data.desordres_logement_chauffage_details_dpe_annee === 'nsp'"
}
}
],
"footer": [
Expand Down
Loading
Loading