From b7b4f79e1cd562af4c2338828b7fcd89e75d774e Mon Sep 17 00:00:00 2001 From: Sampo Tawast <5328394+sirtawast@users.noreply.github.com> Date: Fri, 3 May 2024 10:50:37 +0300 Subject: [PATCH] fix: enable justification text variable replacement (#2959) --- backend/benefit/applications/services/ahjo_decision_service.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/benefit/applications/services/ahjo_decision_service.py b/backend/benefit/applications/services/ahjo_decision_service.py index cc99ce1145..2856fd98ab 100644 --- a/backend/benefit/applications/services/ahjo_decision_service.py +++ b/backend/benefit/applications/services/ahjo_decision_service.py @@ -62,6 +62,9 @@ def process_template_sections( section.template_decision_text = replace_decision_template_placeholders( section.template_decision_text, section.decision_type, application ) + section.template_justification_text = replace_decision_template_placeholders( + section.template_justification_text, section.decision_type, application + ) return template_sections