From e12b2aa3cee80967f554b7a7e6059a5ee2d3be59 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Tue, 27 Jan 2026 14:48:15 +0000 Subject: [PATCH] typhaine will fix later --- etl/month_end_automation_wave_3_layout.py | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/etl/month_end_automation_wave_3_layout.py b/etl/month_end_automation_wave_3_layout.py index 0ab5533..25bd623 100644 --- a/etl/month_end_automation_wave_3_layout.py +++ b/etl/month_end_automation_wave_3_layout.py @@ -28,13 +28,14 @@ class BoardID(Enum): board_ids = [ "9349630181", # WCHG Walkups-Operations + "18232420839", # Powys County Council: "8830772914", # "L&Q London" - "9601691730", # Cardo Wales & West - Wave 3 - "9660895490", # Northumberland County SHDF Wave 3 "9641491000", # Watford Warm Homes + "9601691730", # Cardo Wales & West - Wave 3 + + "9660895490", # Northumberland County SHDF Wave 3 "9671463094", # Seddon "9929454382", # NCHA SHDF Wave 3 Main Operation Board - "18232420839", # Powys County Council: "18380751311", # Devon County Council ] @@ -344,10 +345,18 @@ for board, all_records in board_to_record.items(): if not design.empty: filtered_dfs.append(design) - # Lodgement - lodg1 = get_df(df, "lodgement invoicing status", ["to invoice"], "Lodgement") - if not lodg1.empty: - filtered_dfs.append(lodg1) + ignore = [ + "9349630181", # WCHG Walkups-Operations + "18232420839", # Powys County Council: + "8830772914", # "L&Q London" + "9641491000", # Watford Warm Homes + "9601691730", + ] + if board not in ignore: + # Lodgement + lodg1 = get_df(df, "lodgement invoicing status", ["to invoice"], "Lodgement") + if not lodg1.empty: + filtered_dfs.append(lodg1) # Retrofit Evaluation re = get_df(df, "evaluation invoicing status", ["to invoice"], "retrofit evaluation")