From f383837ea9f265818fc0d5092db86cbf9f039203 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 30 Jul 2024 11:55:31 +0200 Subject: [PATCH] MT#60595 add expand by package_id * package_id field can now be expanded Change-Id: I6555134fbc5c50aae49a64876712fcc8678385f2 --- 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 4c574237e9..006c45944f 100644 --- a/lib/NGCP/Panel/Form/Expand.pm +++ b/lib/NGCP/Panel/Form/Expand.pm @@ -98,6 +98,16 @@ has_field 'subscriber_id' => ( }, ); +has_field 'package_id' => ( + type => 'PosInteger', + element_attr => { + expand => { + class => 'NGCP::Panel::Role::API::ProfilePackages', + allowed_roles => [qw(admin reseller ccareadmin ccare)], + }, + }, +); + has_field 'package_after_id' => ( type => 'PosInteger', element_attr => {