diff --git a/htdocs/lib/company.lib.php b/htdocs/lib/company.lib.php
index eaf0616a566..b23fd244bab 100644
--- a/htdocs/lib/company.lib.php
+++ b/htdocs/lib/company.lib.php
@@ -363,12 +363,13 @@ function show_actions_done($conf,$langs,$db,$objsoc)
global $bc;
if ($conf->agenda->enabled)
- {
- require_once(DOL_DOCUMENT_ROOT."/actioncomm.class.php");
- $actionstatic=new ActionComm($db);
- $userstatic=new User($db);
- $contactstatic = new Contact($db);
- $facturestatic=new Facture($db);
+ {
+ require_once(DOL_DOCUMENT_ROOT."/actioncomm.class.php");
+ require_once(DOL_DOCUMENT_ROOT."/facture.class.php");
+ $actionstatic=new ActionComm($db);
+ $userstatic=new User($db);
+ $contactstatic = new Contact($db);
+ $facturestatic=new Facture($db);
print '
';
print '';
diff --git a/htdocs/docsoc.php b/htdocs/societe/docsoc.php
similarity index 97%
rename from htdocs/docsoc.php
rename to htdocs/societe/docsoc.php
index e14a6552ede..eb7ac80e7f6 100644
--- a/htdocs/docsoc.php
+++ b/htdocs/societe/docsoc.php
@@ -19,8 +19,8 @@
*/
/**
- \file htdocs/docsoc.php
- \brief Fichier onglet documents li�s � la soci�t�
+ \file htdocs/societe/docsoc.php
+ \brief Tab for documents linked to third party
\ingroup societe
\version $Id$
*/
@@ -166,7 +166,7 @@ if ($socid > 0)
// Affiche formulaire upload
$formfile=new FormFile($db);
- $formfile->form_attach_new_file(DOL_URL_ROOT.'/docsoc.php?socid='.$socid);
+ $formfile->form_attach_new_file(DOL_URL_ROOT.'/societe/docsoc.php?socid='.$socid);
// Affiche liste des documents existant
print_titre($langs->trans("AttachedFiles"));
diff --git a/htdocs/socnote.php b/htdocs/societe/socnote.php
similarity index 96%
rename from htdocs/socnote.php
rename to htdocs/societe/socnote.php
index 7021168de05..38cc1d00f10 100644
--- a/htdocs/socnote.php
+++ b/htdocs/societe/socnote.php
@@ -19,8 +19,8 @@
*/
/**
- \file htdocs/socnote.php
- \brief Fichier onglet notes liées à la société
+ \file htdocs/societe/socnote.php
+ \brief Tab for notes on third party
\ingroup societe
\version $Id$
*/
@@ -66,7 +66,7 @@ if ($socid > 0)
dolibarr_fiche_head($head, 'note', $langs->trans("ThirdParty"));
- print "