forked from Wavyzz/dolibarr
Ajout possibilit de activer/dsactiver les expditions et les bon de livraison, renommage de MAIN_MODULE_EXPEDITION en MAIN_SUBMODULE_EXPEDITION
This commit is contained in:
@@ -119,15 +119,23 @@ $html=new Form($db);
|
||||
|
||||
$h = 0;
|
||||
|
||||
$head[$h][0] = DOL_URL_ROOT."/admin/expedition.php";
|
||||
$head[$h][1] = $langs->trans("Sending");
|
||||
$head[$h][0] = DOL_URL_ROOT."/admin/confexped.php";
|
||||
$head[$h][1] = $langs->trans("Setup");
|
||||
$h++;
|
||||
|
||||
if ($conf->global->MAIN_SUBMODULE_EXPEDITION)
|
||||
{
|
||||
$head[$h][0] = DOL_URL_ROOT."/admin/expedition.php";
|
||||
$head[$h][1] = $langs->trans("Sending");
|
||||
$h++;
|
||||
}
|
||||
|
||||
$head[$h][0] = DOL_URL_ROOT."/admin/livraison.php";
|
||||
$head[$h][1] = $langs->trans("Delivery");
|
||||
$hselected=$h;
|
||||
$h++;
|
||||
|
||||
|
||||
dolibarr_fiche_head($head, $hselected, $langs->trans("ModuleSetup"));
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user