/** * Check ACL permissions * * @return boolean */ public function checkACL() { return parent::checkACL() || \XLite\Core\Auth::getInstance()->isPermissionAllowed('manage orders'); }
/** * Prepare statistics table * * @return array */ public function getStats() { parent::getStats(); $this->stats = $this->processData($this->getData()); return $this->stats; }