Merge pull request #29 from Hestia-Homes/feature/sharepoint_integration

cavity walls only
This commit is contained in:
Jun-te Kim 2025-03-20 15:56:12 +00:00 committed by GitHub
commit 07b65bbfbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ 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':
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")