updated advanced pack to 3.12.0:
Reports:
Non-aggregated columns in Grid report export.
Normalized table mode for 2-dimensional Grid reports.
Ability to create internal reports via the UI.
Ability to show/hide and resize columns in the list report result view.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
* usage to the software or any modified version or derivative work of the software
|
||||
* created by or for you.
|
||||
*
|
||||
* Copyright (C) 2015-2025 EspoCRM, Inc.
|
||||
* Copyright (C) 2015-2026 EspoCRM, Inc.
|
||||
*
|
||||
* License ID: 19bc86a68a7bb01f458cb391d43a9212
|
||||
************************************************************************************/
|
||||
@@ -64,6 +64,19 @@ class Report extends Entity
|
||||
return $this->getValueObject('portals');
|
||||
}
|
||||
|
||||
public function getTableMode(): ?string
|
||||
{
|
||||
return count($this->getGroupBy()) === 2 ?
|
||||
$this->get('tableMode') : null;
|
||||
}
|
||||
|
||||
public function setTableMode(string $mode): self
|
||||
{
|
||||
$this->set('tableMode', $mode);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
@@ -228,4 +241,26 @@ class Report extends Entity
|
||||
{
|
||||
return $this->get('joinedReportsIds') ?? [];
|
||||
}
|
||||
|
||||
public function getInternalParams(): stdClass
|
||||
{
|
||||
return $this->get('internalParams') ?? (object) [];
|
||||
}
|
||||
|
||||
public function getInternalClassName(): ?string
|
||||
{
|
||||
return $this->get('internalClassName');
|
||||
}
|
||||
|
||||
public function setChartType(?string $chartType): self
|
||||
{
|
||||
$this->set('chartType', $chartType);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getChartType(): ?string
|
||||
{
|
||||
return $this->get('chartType');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user