diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 629a2c5f3c3..11d8412fa46 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -21,13 +21,13 @@ /** * \file htdocs/comm/index.php * \ingroup commercial - * \brief Page acceuil de la zone commercial cliente + * \brief Page accueil de la zone commerciale cliente * \version $Id$ */ require("../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php"); -require_once(DOL_DOCUMENT_ROOT."/client.class.php"); +require_once(DOL_DOCUMENT_ROOT."/societe/client.class.php"); require_once(DOL_DOCUMENT_ROOT."/comm/action/actioncomm.class.php"); require_once(DOL_DOCUMENT_ROOT."/lib/agenda.lib.php"); if ($conf->contrat->enabled) require_once(DOL_DOCUMENT_ROOT."/contrat/contrat.class.php"); diff --git a/htdocs/compta/facture/facture.class.php b/htdocs/compta/facture/facture.class.php index 67670a9bc84..3166eacc9f0 100644 --- a/htdocs/compta/facture/facture.class.php +++ b/htdocs/compta/facture/facture.class.php @@ -32,7 +32,7 @@ require_once(DOL_DOCUMENT_ROOT ."/core/commonobject.class.php"); require_once(DOL_DOCUMENT_ROOT ."/product/product.class.php"); -require_once(DOL_DOCUMENT_ROOT ."/client.class.php"); +require_once(DOL_DOCUMENT_ROOT ."/societe/client.class.php"); /** diff --git a/htdocs/index.php b/htdocs/index.php index cf204835b80..0e8a1cd38fd 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -127,7 +127,7 @@ if ($user->societe_id == 0) ! empty($conf->telephonie->enabled) && $user->rights->telephonie->lire, ! empty($conf->societe->enabled) && $user->rights->contrat->activer); // Class file containing the method load_state_board for each line - $includes=array(DOL_DOCUMENT_ROOT."/client.class.php", + $includes=array(DOL_DOCUMENT_ROOT."/societe/client.class.php", DOL_DOCUMENT_ROOT."/comm/prospect/prospect.class.php", DOL_DOCUMENT_ROOT."/fourn/fournisseur.class.php", DOL_DOCUMENT_ROOT."/adherents/adherent.class.php", diff --git a/htdocs/lib/agenda.lib.php b/htdocs/lib/agenda.lib.php index 9ff0799beaa..da1e8201b03 100644 --- a/htdocs/lib/agenda.lib.php +++ b/htdocs/lib/agenda.lib.php @@ -125,7 +125,7 @@ function show_array_actions_to_do($max=5) global $langs, $conf, $user, $db, $bc, $socid; include_once(DOL_DOCUMENT_ROOT.'/comm/action/actioncomm.class.php'); - include_once(DOL_DOCUMENT_ROOT.'/client.class.php'); + include_once(DOL_DOCUMENT_ROOT.'/societe/client.class.php'); $sql = "SELECT a.id, a.label, ".$db->pdate("a.datep")." as dp, a.fk_user_author, a.percent,"; $sql.= " c.code, c.libelle,"; diff --git a/htdocs/client.class.php b/htdocs/societe/client.class.php similarity index 96% rename from htdocs/client.class.php rename to htdocs/societe/client.class.php index 874aa4c5739..e163b09f868 100644 --- a/htdocs/client.class.php +++ b/htdocs/societe/client.class.php @@ -18,7 +18,7 @@ */ /** - * \file htdocs/client.class.php + * \file htdocs/societe/client.class.php * \ingroup societe * \brief File for class of customers * \version $Id$ @@ -79,7 +79,7 @@ class Client extends Societe /** - * \brief Charge indicateurs this->nb de tableau de bord + * \brief Charge indicateurs this->nb de tableaux de bord * \return int <0 si ko, >0 si ok */ function load_state_board()