Энергия НК (наблюдательные станции)

This commit is contained in:
zakhy 2025-02-24 17:38:21 +07:00
parent 9399417acd
commit 161f1017d2
2 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,7 @@
<p style="font-size:12px;fon">Список наблюдательных станций</p>
</div>
<div class="col-sm-3 invoice-col">
<a href="point/list/"><strong>Реперы</strong></a>
<a href="{% url 'geoproc:point_list' sector.id %}"><strong>Реперы</strong></a>
<br>
<p style="font-size:12px;fon">Список реперов</p>
</div>

View File

@ -68,6 +68,7 @@ def obstation_save(request, pk):
form = ObStationForm(request.POST,instance=obstation)
if form.is_valid():
obstation = form.save(commit=False)
obstation.sector = sector
obstation.save()
context = generalmodule.get_context_template()
context.update({