Skip to content

Commit

Permalink
[Back-End]: Delete GMN_TubeReference
Browse files Browse the repository at this point in the history
Fixes #123
  • Loading branch information
StevenHosper committed Oct 31, 2024
1 parent 39ec53c commit a853e5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/bro_upload/templates/delete_GMN_TubeReference.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</eventDate>
<measuringPoint>
<MeasuringPoint gml:id="id_0002">
<measuringPointCode>{{ sourcedocs_data.evemeasuringPointCodentDate }}</measuringPointCode>
<measuringPointCode>{{ sourcedocs_data.measuringPointCode }}</measuringPointCode>
<monitoringTube>
<GroundwaterMonitoringTube gml:id="id_0003">
<broId>{{ sourcedocs_data.broId }}</broId>
Expand Down
2 changes: 2 additions & 0 deletions api/bro_upload/upload_datamodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ class GMNMeasuringPointEndDate(BaseModel):
class GMNTubeReference(BaseModel):
eventDate: str
measuringPointCode: str
broId: str
tubeNumber: str | int


class GMNClosure(BaseModel):
Expand Down

0 comments on commit a853e5b

Please sign in to comment.