corrected eligibiltiy criteria for EPC E, F, G EWI projects

This commit is contained in:
Khalim Conn-Kowlessar 2025-10-28 17:56:43 +00:00
parent 462c3b8f28
commit 1c94db54ef

View file

@ -896,7 +896,7 @@ def make_funding_paths(p, input_measures, housing_type, funding: Funding):
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1) The package must include EWI or IWI if the property is private rental sector
# We check if we have any EWI or IWI measures available - only for EPC E or below
if p.data["current-energy-rating"] not in ["E", "F", "G"]:
if p.data["current-energy-rating"] in ["E", "F", "G"]:
ewi_or_iwi = [{"OR": []}]
reference_measures = []
# If we have EWI we add it in