removed undefined function
This commit is contained in:
@@ -2690,7 +2690,6 @@ class AdminControllerCore extends Controller
|
||||
));
|
||||
|
||||
foreach ($this->kpis as $key => &$kpi) {
|
||||
$kpi->exclude_id_hotels[] = 3;
|
||||
if (count($kpi->exclude_id_hotels)) {
|
||||
if (empty($kpi->id_hotels)) {
|
||||
$kpi->id_hotels = HotelBranchInformation::getProfileAccessedHotels($this->context->employee->id_profile, 1, 1);
|
||||
|
||||
@@ -49,7 +49,6 @@ class HelperKpiCore extends Helper
|
||||
{
|
||||
$this->tpl = $this->createTemplate($this->base_tpl);
|
||||
|
||||
$this->manageHotelPremissions();
|
||||
$this->tpl->assign(array(
|
||||
'id' => $this->id,
|
||||
'icon' => $this->icon,
|
||||
|
||||
@@ -593,7 +593,6 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
|
||||
public function displayAjaxGetKpi()
|
||||
{
|
||||
ddd(Tools::getValue('id_hotels'));
|
||||
$value = $this->getLatestKpiValue(Tools::getValue('kpi'), Tools::getValue('id_hotels'));
|
||||
if ($value !== false) {
|
||||
$array = array('value' => $value);
|
||||
|
||||
Reference in New Issue
Block a user