From 7ddef6f73e146aa37916eb1e544a303dbaf115da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Meny?= Date: Thu, 21 Jul 2022 09:22:13 +0100 Subject: [PATCH] Makes unitletas general needs only --- config/forms/2021_2022.json | 3 ++- config/forms/2022_2023.json | 3 ++- spec/fixtures/exports/supported_housing_logs.xml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index fac033857..7765ce9ba 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -456,7 +456,8 @@ "depends_on": [ { "first_time_property_let_as_social_housing": 0, - "renewal": 0 + "renewal": 0, + "needstype": 1 } ] }, diff --git a/config/forms/2022_2023.json b/config/forms/2022_2023.json index db26c7d0f..3890b1dbf 100644 --- a/config/forms/2022_2023.json +++ b/config/forms/2022_2023.json @@ -456,7 +456,8 @@ "depends_on": [ { "first_time_property_let_as_social_housing": 0, - "renewal": 0 + "renewal": 0, + "needstype": 1 } ] }, diff --git a/spec/fixtures/exports/supported_housing_logs.xml b/spec/fixtures/exports/supported_housing_logs.xml index 694924351..5e2309871 100644 --- a/spec/fixtures/exports/supported_housing_logs.xml +++ b/spec/fixtures/exports/supported_housing_logs.xml @@ -90,7 +90,7 @@ 0 2022-02-02 10:36:49 UTC 1 - 2 + 2019-11-03 00:00:00 UTC 2