From be0e9de01bd54b91ce42f4a48ca3a4cd512695ed Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Thu, 13 Nov 2025 10:00:23 +0100 Subject: [PATCH] MT#63839 add expand by subscriber_email_template_id * subscriber_email_template_id can now be globally expanded Change-Id: Ifad15d328ed6cfb81670974a8a4a2f9ad6196652 --- lib/NGCP/Panel/Form/Expand.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/NGCP/Panel/Form/Expand.pm b/lib/NGCP/Panel/Form/Expand.pm index b8c7f2b210..d65b4cb7ed 100644 --- a/lib/NGCP/Panel/Form/Expand.pm +++ b/lib/NGCP/Panel/Form/Expand.pm @@ -230,6 +230,16 @@ has_field 'passreset_email_template_id' => ( }, ); +has_field 'subscriber_email_template_id' => ( + type => 'PosInteger', + element_attr => { + expand => { + class => 'NGCP::Panel::Role::API::EmailTemplates', + allowed_roles => [qw(admin reseller ccareadmin ccare)], + }, + }, +); + has_field 'invoice_template_id' => ( type => 'PosInteger', element_attr => {