diff --git a/htdocs/admin/societe.php b/htdocs/admin/societe.php
index 2aa81ce1b2a..90cb0d836e5 100644
--- a/htdocs/admin/societe.php
+++ b/htdocs/admin/societe.php
@@ -36,6 +36,7 @@ accessforbidden();
$action=GETPOST("action");
+
/*
* Actions
*/
@@ -78,7 +79,7 @@ if ($action == 'COMPANY_USE_SEARCH_TO_SELECT')
}
}
-// define constants for models generator that need parameters
+// Define constants for submodules that contains parameters (forms with param1, param2, ... and value1, value2, ...)
if ($action == 'setModuleOptions')
{
$post_size=count($_POST);
@@ -91,6 +92,7 @@ if ($action == 'setModuleOptions')
if ($param) dolibarr_set_const($db,$param,$value,'chaine',0,'',$conf->entity);
}
}
+ $mesg = "".$langs->trans("SetupSaved")."";
}
// Activate a document generator module
@@ -188,12 +190,14 @@ $linkback=''.$langs->trans("BackToM
print_fiche_titre($langs->trans("CompanySetup"),$linkback,'setup');
-$head = societe_admin_prepare_head($soc);
+$head = societe_admin_prepare_head(null);
dol_fiche_head($head, 'general', $langs->trans("ThirdParty"), 0, 'company');
+dol_htmloutput_mesg($mesg);
-// Choix du module de gestion des codes clients / fournisseurs
+
+// Module to manage customer/supplier code
print_titre($langs->trans("CompanyCodeChecker"));
@@ -202,7 +206,7 @@ print "\n";
print ' \n";
@@ -249,7 +253,7 @@ if (is_resource($handle))
}
print ''.$langs->trans("Name").' ';
print ' '.$langs->trans("Description").' ';
print ' '.$langs->trans("Example").' ';
-print ' '.$langs->trans("Status").' ';
+print ' '.$langs->trans("Status").' ';
print ' '.$langs->trans("Infos").' ';
print "