2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-19 01:17:13 +00:00

add TUNNELLED as a field on wallets

This commit is contained in:
2025-07-25 18:24:38 +02:00
parent 5204e3cc68
commit 4fa767585c
3 changed files with 24 additions and 13 deletions

View File

@@ -463,18 +463,17 @@ class Wallet(models.Model):
# if electronic, don't require P or E
if waldata["electronic survey"]:
# ticks["N"] = "green"
ticks["P"] = "green"
ticks["E"] = "green"
# ticks["T"] = "green" # No, this does not mean it has been 'tunneled' properly
# Tunnel / Therion
# complete change in logic 2025
ticks["T"] = "fuchsia"
# if elev_drawing_required or plan_drawing_required:
# ticks["T"] = "red"
# else:
# ticks["T"] = "green"
ticks["T"] = "fuchsia" # default
if "tunnelled" in waldata:
if waldata["tunnelled"]:
ticks["T"] = "green"
# Website
if waldata["website updated"]: