From df8e4cc0d88c25ea818bb1e41d6002c93c94dff7 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Wed, 7 Aug 2024 10:19:59 +0200 Subject: [PATCH] Fix capital letters missing in tender task (super siae list). ref #1337 --- lemarche/www/tenders/tasks.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lemarche/www/tenders/tasks.py b/lemarche/www/tenders/tasks.py index 72cb72473..19fcc9df1 100644 --- a/lemarche/www/tenders/tasks.py +++ b/lemarche/www/tenders/tasks.py @@ -646,13 +646,13 @@ def send_super_siaes_email_to_author(tender: Tender, top_siaes: list[Siae]): "TENDER_SIAE_INTERESTED_LIST_URL": f"{get_object_share_url(tender)}/prestataires", } for siae in top_siaes: - variables["siaes"].append( + variables["SIAES"].append( { - "id": siae.id, - "name": siae.name_display, - "kind": siae.get_kind_display(), - "contact_name": siae.contact_full_name, - "contact_phone": siae.contact_phone_display, + "ID": siae.id, + "NAME": siae.name_display, + "KIND": siae.get_kind_display(), + "CONTACT_NAME": siae.contact_full_name, + "CONTACT_N": siae.contact_phone_display, "contact_email": siae.contact_email, } )