correct call to class commande.class.php
This commit is contained in:
parent
cab4356e3d
commit
2dcb267b4b
@ -30,6 +30,7 @@ require("../main.inc.php");
|
|||||||
require_once(DOL_DOCUMENT_ROOT.'/lib/order.lib.php');
|
require_once(DOL_DOCUMENT_ROOT.'/lib/order.lib.php');
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/files.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/files.lib.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
|
||||||
|
require_once(DOL_DOCUMENT_ROOT ."/commande/commande.class.php");
|
||||||
|
|
||||||
if (!$user->rights->commande->lire) accessforbidden();
|
if (!$user->rights->commande->lire) accessforbidden();
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT.'/lib/order.lib.php');
|
require_once(DOL_DOCUMENT_ROOT.'/lib/order.lib.php');
|
||||||
|
require_once(DOL_DOCUMENT_ROOT ."/commande/commande.class.php");
|
||||||
|
|
||||||
$socid=isset($_GET["socid"])?$_GET["socid"]:isset($_POST["socid"])?$_POST["socid"]:"";
|
$socid=isset($_GET["socid"])?$_GET["socid"]:isset($_POST["socid"])?$_POST["socid"]:"";
|
||||||
|
|
||||||
|
|||||||
@ -29,6 +29,7 @@ require("../../main.inc.php");
|
|||||||
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/order.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/order.lib.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/sendings.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/sendings.lib.php");
|
||||||
|
require_once(DOL_DOCUMENT_ROOT ."/commande/commande.class.php");
|
||||||
if ($conf->propal->enabled) require_once(DOL_DOCUMENT_ROOT."/comm/propal/propal.class.php");
|
if ($conf->propal->enabled) require_once(DOL_DOCUMENT_ROOT."/comm/propal/propal.class.php");
|
||||||
if ($conf->projet->enabled) require_once(DOL_DOCUMENT_ROOT."/projet/project.class.php");
|
if ($conf->projet->enabled) require_once(DOL_DOCUMENT_ROOT."/projet/project.class.php");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user