diff --git a/controllers/admin/AdminStatsController.php b/controllers/admin/AdminStatsController.php index f4ecc62c2..91abfe1a2 100644 --- a/controllers/admin/AdminStatsController.php +++ b/controllers/admin/AdminStatsController.php @@ -504,7 +504,7 @@ class AdminStatsControllerCore extends AdminStatsTabController else { $country = new Country($row['id_country'], $this->context->language->id); - $value = sprintf($this->l('%.1f%% %s'), $row['orders'], $country->name); + $value = sprintf($this->l('%d%% %s'), $row['orders'], $country->name); } ConfigurationKPI::updateValue('MAIN_COUNTRY', array($this->context->language->id => $value)); diff --git a/controllers/admin/AdminTranslationsController.php b/controllers/admin/AdminTranslationsController.php index c0257f4e7..d705f9da2 100644 --- a/controllers/admin/AdminTranslationsController.php +++ b/controllers/admin/AdminTranslationsController.php @@ -1272,7 +1272,7 @@ class AdminTranslationsControllerCore extends AdminController $kpis[] = $helper->generate(); $helper = new HelperKpi(); - $helper->id = 'box-country'; + $helper->id = 'box-translations'; $helper->icon = 'icon-list'; $helper->color = 'color3'; $helper->title = $this->l('Front Office Translations');