Hello
I found this array in htdocs/index.php
$dashboardgroup = array(
'action' =>
array(
'groupName' => 'Agenda',
'stats' => array('action'),
),
'project' =>
array(
'groupName' => 'Projects',
'globalStatsKey' => 'projects',
'stats' => array('project', 'project_task'),
),
'propal' =>
array(
'groupName' => 'Proposals',
'globalStatsKey' => 'proposals',
'stats' =>
array('propal_opened', 'propal_signed'),
),
'commande' =>
array(
'groupName' => 'Orders',
'globalStatsKey' => 'orders',
'stats' =>
array('commande'),
),
'facture' =>
array(
'groupName' => 'Invoices',
'globalStatsKey' => 'invoices',
'stats' =>
array('facture'),
),
'supplier_proposal' =>
array(
'lang' => 'supplier_proposal',
'groupName' => 'SupplierProposals',
'globalStatsKey' => 'askprice',
'stats' =>
array('supplier_proposal_opened', 'supplier_proposal_signed'),
),
'order_supplier' =>
array(
'groupName' => 'SuppliersOrders',
'globalStatsKey' => 'supplier_orders',
'stats' =>
array('order_supplier_opened', 'order_supplier_awaiting'),
),
'invoice_supplier' =>
array(
'groupName' => 'BillsSuppliers',
'globalStatsKey' => 'supplier_invoices',
'stats' =>
array('invoice_supplier'),
),
'contrat' =>
array(
'groupName' => 'Contracts',
'globalStatsKey' => 'Contracts',
'stats' =>
array('contrat_inactive', 'contrat_active'),
),
'ticket' =>
array(
'groupName' => 'Tickets',
'globalStatsKey' => 'ticket',
'stats' =>
array('ticket_opened'),
),
'bank_account' =>
array(
'groupName' => 'BankAccount',
'stats' =>
array('bank_account', 'chequereceipt', 'widthdraw_direct_debit', 'widthdraw_credit_transfer'),
),
'member' =>
array(
'groupName' => 'Members',
'globalStatsKey' => 'members',
'stats' =>
array('member_shift', 'member_expired'),
),
'expensereport' =>
array(
'groupName' => 'ExpenseReport',
'globalStatsKey' => 'expensereports',
'stats' =>
array('expensereport_toapprove', 'expensereport_topay'),
),
'holiday' =>
array(
'groupName' => 'Holiday',
'globalStatsKey' => 'holidays',
'stats' =>
array('holiday'),
),
);
How can I add a custom one and get data from my custom module?