local changes

This commit is contained in:
Jun-te Kim 2025-03-21 07:30:51 +00:00
parent ff255ca53c
commit d4819cfbf6

View file

@ -25,7 +25,8 @@ def main():
for survey in list_of_surveys:
if survey.pre_site_note:
if survey.pre_site_note.property_description.main_property.wall.insulation.lower() == 'as built' and survey.pre_site_note.property_description.main_property.wall.construction.lower() == "cavity wall":
if survey.pre_site_note.property_description.main_property.wall.insulation.lower() == 'as built' \
and survey.pre_site_note.property_description.main_property.wall.construction.lower() == "cavity wall":
if survey.csr:
data["Price"].append(500)
data["Type of Work"].append("REMIDIAL CWI ONLY")