From 43843f831206618ea1b4e5aa00df3f1da9470914 Mon Sep 17 00:00:00 2001 From: Andreas von Studnitz Date: Fri, 29 Sep 2023 12:22:32 +0200 Subject: [PATCH] Display the "status" column in the subscription grid as select instead of text --- Model/Source/Status.php | 17 +++++++++++++++++ .../async_events_events_listing.xml | 12 ++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 Model/Source/Status.php diff --git a/Model/Source/Status.php b/Model/Source/Status.php new file mode 100644 index 0000000..97f1995 --- /dev/null +++ b/Model/Source/Status.php @@ -0,0 +1,17 @@ + 0, 'label' => __('Disabled')], + ['value' => 1, 'label' => __('Enabled')], + ]; + } +} diff --git a/view/adminhtml/ui_component/async_events_events_listing.xml b/view/adminhtml/ui_component/async_events_events_listing.xml index 2d571bf..1790314 100644 --- a/view/adminhtml/ui_component/async_events_events_listing.xml +++ b/view/adminhtml/ui_component/async_events_events_listing.xml @@ -107,6 +107,18 @@ + + + + select + + select + + select + + + +