//display date on dashproducts && added param date_from & date_to on dashboard hooks

This commit is contained in:
Vincent Augagneur
2013-10-23 09:59:16 +02:00
parent 48a70cc8ac
commit c61cec9f2a
4 changed files with 27 additions and 28 deletions
+1
View File
@@ -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');
}