From e511c188fe7611b564e25a9da683bd25e94f5066 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 14 Jul 2010 15:59:38 +0000 Subject: [PATCH] The beta will last a little bit more, so i enable the spanish local taxes --- htdocs/admin/company.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index 0a67d7c696c..1164fa71d6a 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -21,7 +21,7 @@ /** * \file htdocs/admin/company.php * \ingroup company - * \brief Page d'accueil de l'espace administration/configuration + * \brief Setup page to configure company/foundation * \version $Id$ */ @@ -506,7 +506,7 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') /* * Local Taxes */ - if ($obj->code=='ES' && $conf->global->MAIN_FEATURES_LEVEL >= 1) + if ($code_pays=='ES') { // Local Tax 1 print '
'; @@ -602,7 +602,12 @@ else $var=!$var; print ''.$langs->trans("CompanyCountry").''; - if ($conf->global->MAIN_INFO_SOCIETE_PAYS) print getCountry($conf->global->MAIN_INFO_SOCIETE_PAYS,1); + if ($conf->global->MAIN_INFO_SOCIETE_PAYS) + { + $img=picto_from_langcode(getCountry($conf->global->MAIN_INFO_SOCIETE_PAYS,2)); + print $img?$img.' ':''; + print getCountry($conf->global->MAIN_INFO_SOCIETE_PAYS,1); + } print ''; $var=!$var;