update code
This commit is contained in:
parent
948f3964be
commit
d5c251ec23
@ -43,7 +43,7 @@ if (!empty($conf->expedition_bon->enabled)) {
|
||||
if (!empty($conf->stock->enabled)) {
|
||||
require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php';
|
||||
}
|
||||
if (!empty($conf->project->enabled)) {
|
||||
if (isModEnabled('project')) {
|
||||
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formprojet.class.php';
|
||||
}
|
||||
@ -328,7 +328,7 @@ if ($action == 'create') { // Create. Seems to no be used
|
||||
// Thirdparty
|
||||
$morehtmlref .= '<br>'.$langs->trans('ThirdParty').' : '.$expedition->thirdparty->getNomUrl(1);
|
||||
// Project
|
||||
if (!empty($conf->project->enabled)) {
|
||||
if (isModEnabled('project')) {
|
||||
$langs->load("projects");
|
||||
$morehtmlref .= '<br>'.$langs->trans('Project').' ';
|
||||
if (0) { // Do not change on shipment
|
||||
|
||||
Loading…
Reference in New Issue
Block a user