From bf1551204e22990c57b8a04589890bc6d5c711af Mon Sep 17 00:00:00 2001 From: StevenHosper Date: Tue, 5 Nov 2024 14:02:56 +0100 Subject: [PATCH] [Back-End]: groundLevelPosition and tubeTopDiameter should be included, even with nill value. Fixes #133 --- api/bro_upload/templates/registration_GMW_Construction.html | 4 ---- api/bro_upload/templates/replace_GMW_Construction.html | 4 ---- 2 files changed, 8 deletions(-) diff --git a/api/bro_upload/templates/registration_GMW_Construction.html b/api/bro_upload/templates/registration_GMW_Construction.html index 1043eed..b73bbc9 100644 --- a/api/bro_upload/templates/registration_GMW_Construction.html +++ b/api/bro_upload/templates/registration_GMW_Construction.html @@ -35,9 +35,7 @@ {{ sourcedocs_data.localVerticalReferencePoint }} {{ sourcedocs_data.offset }} {{ sourcedocs_data.verticalDatum }} -{% if sourcedocs_data.groundLevelPosition %} {{ sourcedocs_data.groundLevelPosition }} -{% endif %} {{ sourcedocs_data.groundLevelPositioningMethod }} {% for monitoringtube in sourcedocs_data.monitoringTubes %} @@ -47,9 +45,7 @@ {{ monitoringtube.artesianWellCapPresent }} {{ monitoringtube.sedimentSumpPresent }} {{ monitoringtube.numberOfGeoOhmCables }} -{% if monitoringtube.tubeTopDiameter %} {{ monitoringtube.tubeTopDiameter }} -{% endif %} {{ monitoringtube.variableDiameter }} {{ monitoringtube.tubeStatus }} {{ monitoringtube.tubeTopPosition }} diff --git a/api/bro_upload/templates/replace_GMW_Construction.html b/api/bro_upload/templates/replace_GMW_Construction.html index 1750e3e..a15b7f2 100644 --- a/api/bro_upload/templates/replace_GMW_Construction.html +++ b/api/bro_upload/templates/replace_GMW_Construction.html @@ -37,9 +37,7 @@ {{ sourcedocs_data.localVerticalReferencePoint }} {{ sourcedocs_data.offset }} {{ sourcedocs_data.verticalDatum }} -{% if sourcedocs_data.groundLevelPosition %} {{ sourcedocs_data.groundLevelPosition }} -{% endif %} {{ sourcedocs_data.groundLevelPositioningMethod }} {% for monitoringtube in sourcedocs_data.monitoringTubes %} @@ -49,9 +47,7 @@ {{ monitoringtube.artesianWellCapPresent }} {{ monitoringtube.sedimentSumpPresent }} {{ monitoringtube.numberOfGeoOhmCables }} -{% if monitoringtube.tubeTopDiameter %} {{ monitoringtube.tubeTopDiameter }} -{% endif %} {{ monitoringtube.variableDiameter }} {{ monitoringtube.tubeStatus }} {{ monitoringtube.tubeTopPosition }}