From a4e694412ce6c575f984df856b7d876fa5df8b10 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 16 Jul 2024 19:40:36 +0300 Subject: [PATCH] kanban group item more data --- application/Espo/Tools/Kanban/GroupItem.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/Espo/Tools/Kanban/GroupItem.php b/application/Espo/Tools/Kanban/GroupItem.php index 0169400b0d..32e6d28f50 100644 --- a/application/Espo/Tools/Kanban/GroupItem.php +++ b/application/Espo/Tools/Kanban/GroupItem.php @@ -41,6 +41,8 @@ class GroupItem public function __construct( readonly public string $name, readonly public Collection $collection, + readonly public ?string $label = null, + readonly public ?string $style = null, ) {} public function toRaw(): stdClass @@ -49,6 +51,8 @@ class GroupItem 'name' => $this->name, 'total' => $this->collection->getTotal(), 'list' => $this->collection->getValueMapList(), + 'label' => $this->label, + 'style' => $this->style, ]; } }