commit
16dce2001d
@ -25,11 +25,17 @@
|
||||
* \brief Home page of supplier's orders area
|
||||
*/
|
||||
|
||||
|
||||
// Load Dolibarr environment
|
||||
require '../../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
|
||||
|
||||
|
||||
// Load translation files required by the page
|
||||
$langs->loadLangs(array("suppliers", "orders"));
|
||||
|
||||
|
||||
// Security check
|
||||
$orderid = GETPOST('orderid');
|
||||
@ -43,8 +49,6 @@ $hookmanager = new HookManager($db);
|
||||
// Initialize technical object to manage hooks. Note that conf->hooks_modules contains array
|
||||
$hookmanager->initHooks(array('orderssuppliersindex'));
|
||||
|
||||
// Load translation files required by the page
|
||||
$langs->loadLangs(array("suppliers", "orders"));
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user