mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 11:00:40 +08:00
Remove Leads Subpanel File
This commit is contained in:
parent
9881af09e2
commit
491a6dac41
1 changed files with 0 additions and 39 deletions
|
@ -1,39 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Legacy\Statistics;
|
||||
|
||||
use App\Entity\Statistic;
|
||||
use App\Service\StatisticsProviderInterface;
|
||||
|
||||
class SubpanelLeadsTotal implements StatisticsProviderInterface
|
||||
{
|
||||
public const KEY = 'leads';
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getKey(): string
|
||||
{
|
||||
return self::KEY;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getData(array $param): Statistic
|
||||
{
|
||||
|
||||
$statistic = new Statistic();
|
||||
$statistic->setId(self::KEY);
|
||||
$statistic->setData([
|
||||
'value' => '4'
|
||||
]);
|
||||
|
||||
$statistic->setMetadata([
|
||||
'type' => 'single-value-statistic',
|
||||
'dataType' => 'int',
|
||||
]);
|
||||
|
||||
return $statistic;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue