mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
[Legacy] Move total cases statist to top widget
This commit is contained in:
parent
988f7eae45
commit
c08443d635
1 changed files with 6 additions and 47 deletions
|
@ -88,6 +88,12 @@ array(
|
|||
'endLabelKey' => 'LBL_STAT_DAYS',
|
||||
'hideValueIfEmpty' => true
|
||||
],
|
||||
[
|
||||
'labelKey' => 'LBL_TOTAL_CASES_FOR_THIS_ACCOUNT',
|
||||
'type' => 'cases-per-account',
|
||||
'endLabelKey' => 'LBL_SINCE',
|
||||
'hideValueIfEmpty' => true
|
||||
],
|
||||
],
|
||||
]
|
||||
],
|
||||
|
@ -247,53 +253,6 @@ array(
|
|||
'Cases' => ['view', 'list']
|
||||
]
|
||||
],
|
||||
[
|
||||
'type' => 'statistics',
|
||||
'labelKey' => 'LBL_NUMBER_OF_CASES_PER_ACCOUNT',
|
||||
'options' => [
|
||||
'sidebarStatistic' => [
|
||||
'rows' => [
|
||||
[
|
||||
'align' => 'start',
|
||||
'cols' => [
|
||||
[
|
||||
'labelKey' => 'LBL_TOTAL_CASES_FOR_THIS_ACCOUNT',
|
||||
'size' => 'medium',
|
||||
],
|
||||
]
|
||||
],
|
||||
[
|
||||
'align' => 'start',
|
||||
'cols' => [
|
||||
[
|
||||
'statistic' => 'cases-per-account',
|
||||
'size' => 'xx-large',
|
||||
'bold' => true,
|
||||
'color' => 'green'
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
'align' => 'start',
|
||||
'cols' => [
|
||||
[
|
||||
'labelKey' => 'LBL_SINCE',
|
||||
'size' => 'regular',
|
||||
],
|
||||
[
|
||||
'statistic' => 'get-account-date-entered',
|
||||
'size' => 'regular',
|
||||
],
|
||||
]
|
||||
],
|
||||
]
|
||||
]
|
||||
],
|
||||
'acls' => [
|
||||
'Cases' => ['view', 'list'],
|
||||
'Accounts' => ['view', 'list']
|
||||
]
|
||||
],
|
||||
],
|
||||
'panels' =>
|
||||
array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue