//display date on dashproducts && added param date_from & date_to on dashboard hooks
This commit is contained in:
@@ -49,6 +49,7 @@ class Dashproducts extends Module
|
||||
|
||||
public function hookDashboardZoneTwo($params)
|
||||
{
|
||||
$this->context->smarty->assign(array('date_from' => Tools::displayDate($params['date_from']), 'date_to' => Tools::displayDate($params['date_to'])));
|
||||
return $this->display(__FILE__, 'dashboard_zone_two.tpl');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user