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:
@@ -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"]:
|
||||
|
||||
Reference in New Issue
Block a user