From e634e479cf28893d9060686ed671d5f5e388e549 Mon Sep 17 00:00:00 2001 From: StevenHosper <steven.hosper@nelen-schuurmans.nl> Date: Wed, 27 Nov 2024 09:00:45 +0100 Subject: [PATCH] Include wellStability when groundLevelStable is unknown --- CHANGES.md | 2 +- api/bro_upload/templates/move_GMW_Construction.html | 2 +- api/bro_upload/templates/registration_GMW_Construction.html | 2 +- api/bro_upload/templates/replace_GMW_Construction.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 17dd359..bc83c15 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,7 +3,7 @@ ## 0.65 (unreleased) -- Nothing changed yet. +- Include wellStability when groundLevelStable is unknown. ## 0.64 (2024-11-20) diff --git a/api/bro_upload/templates/move_GMW_Construction.html b/api/bro_upload/templates/move_GMW_Construction.html index 061c2a4..fbb85e6 100644 --- a/api/bro_upload/templates/move_GMW_Construction.html +++ b/api/bro_upload/templates/move_GMW_Construction.html @@ -18,7 +18,7 @@ <ns:initialFunction codeSpace="urn:bro:gmw:InitialFunction">{{ sourcedocs_data.initialFunction }}</ns:initialFunction> <ns:numberOfMonitoringTubes>{{ sourcedocs_data.numberOfMonitoringTubes }}</ns:numberOfMonitoringTubes> <ns:groundLevelStable>{{ sourcedocs_data.groundLevelStable }}</ns:groundLevelStable> -{% if sourcedocs_data.groundLevelStable == "nee" %} +{% if sourcedocs_data.groundLevelStable in ["nee", "onbekend"] %} <ns:wellStability codeSpace="urn:bro:gmw:WellStability">{{ sourcedocs_data.wellStability }}</ns:wellStability> {% endif %} {% if sourcedocs_data.nitgCode %} diff --git a/api/bro_upload/templates/registration_GMW_Construction.html b/api/bro_upload/templates/registration_GMW_Construction.html index 026147c..a5c68f2 100644 --- a/api/bro_upload/templates/registration_GMW_Construction.html +++ b/api/bro_upload/templates/registration_GMW_Construction.html @@ -16,7 +16,7 @@ <ns:initialFunction codeSpace="urn:bro:gmw:InitialFunction">{{ sourcedocs_data.initialFunction }}</ns:initialFunction> <ns:numberOfMonitoringTubes>{{ sourcedocs_data.numberOfMonitoringTubes }}</ns:numberOfMonitoringTubes> <ns:groundLevelStable>{{ sourcedocs_data.groundLevelStable }}</ns:groundLevelStable> -{% if sourcedocs_data.groundLevelStable == "nee" %} +{% if sourcedocs_data.groundLevelStable in ["nee", "onbekend"] %} <ns:wellStability codeSpace="urn:bro:gmw:WellStability">{{ sourcedocs_data.wellStability }}</ns:wellStability> {% endif %} {% if sourcedocs_data.nitgCode %} diff --git a/api/bro_upload/templates/replace_GMW_Construction.html b/api/bro_upload/templates/replace_GMW_Construction.html index 0a67930..13a9ab6 100644 --- a/api/bro_upload/templates/replace_GMW_Construction.html +++ b/api/bro_upload/templates/replace_GMW_Construction.html @@ -18,7 +18,7 @@ <ns:initialFunction codeSpace="urn:bro:gmw:InitialFunction">{{ sourcedocs_data.initialFunction }}</ns:initialFunction> <ns:numberOfMonitoringTubes>{{ sourcedocs_data.numberOfMonitoringTubes }}</ns:numberOfMonitoringTubes> <ns:groundLevelStable>{{ sourcedocs_data.groundLevelStable }}</ns:groundLevelStable> -{% if sourcedocs_data.groundLevelStable == "nee" %} +{% if sourcedocs_data.groundLevelStable in ["nee", "onbekend"] %} <ns:wellStability codeSpace="urn:bro:gmw:WellStability">{{ sourcedocs_data.wellStability }}</ns:wellStability> {% endif %} {% if sourcedocs_data.nitgCode %}