From e6631e1ab1991236ffd00d366c048a52bf4c7eb9 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 24 Jan 2026 09:06:41 -0500 Subject: [PATCH] template_name --- app/api/services/office_dashboard.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/api/services/office_dashboard.py b/app/api/services/office_dashboard.py index fd67395..5f7399b 100644 --- a/app/api/services/office_dashboard.py +++ b/app/api/services/office_dashboard.py @@ -382,6 +382,7 @@ class OfficeDashboardService(BaseService): member_sub = [] flavor='' + template_name='' product_templates_data = [] templates_data = [] @@ -392,11 +393,13 @@ class OfficeDashboardService(BaseService): if membersSubResult.product_template: templateData = ProductsTemplates.get_template_by_uid(str(membersSubResult.product_template)) if templateData: - flavor = templateData.get('flavor') + flavor = templateData.flavor + template_name = templateData.name member_sub = { 'id': membersSubResult.id, 'flavor': flavor, + 'template_name': template_name, 'subscription_uid': str(membersSubResult.uid), 'member_id': membersSubResult.member_id, 'product_id': membersSubResult.product_id,