//added param date_from & date_to on hookDashboardDatas
This commit is contained in:
@@ -78,6 +78,11 @@ class AdminDashboardControllerCore extends AdminController
|
|||||||
if ($module = Tools::getValue('module'))
|
if ($module = Tools::getValue('module'))
|
||||||
$id_module = Module::getInstanceByName($module)->id;
|
$id_module = Module::getInstanceByName($module)->id;
|
||||||
|
|
||||||
|
$params = array(
|
||||||
|
'date_from' => $this->context->employee->stats_date_from,
|
||||||
|
'date_to' => $this->context->employee->stats_date_to,
|
||||||
|
);
|
||||||
|
|
||||||
$datas = Hook::exec('dashboardDatas', array(), $id_module, true);
|
$datas = Hook::exec('dashboardDatas', array(), $id_module, true);
|
||||||
die(Tools::jsonEncode($datas));
|
die(Tools::jsonEncode($datas));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user