Ajout interface Greffon
This commit is contained in:
parent
f8eb583f85
commit
a0936079c4
@ -455,6 +455,20 @@ else
|
|||||||
}
|
}
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Mise en place de l'interface greffon
|
||||||
|
*/
|
||||||
|
if($conf->global->TELEPHONIE_CONTRAT_PLUGIN)
|
||||||
|
{
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/telephonie/contrat/modules/'.$conf->global->TELEPHONIE_CONTRAT_PLUGIN.'.php';
|
||||||
|
$var = $conf->global->TELEPHONIE_CONTRAT_PLUGIN;
|
||||||
|
$plugin = new $var;
|
||||||
|
if($plugin->tabs($h))
|
||||||
|
$h++;
|
||||||
|
else
|
||||||
|
dolibarr_syslog("$var::tabs error");
|
||||||
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/telephonie/contrat/stats.php?id=".$contrat->id;
|
$head[$h][0] = DOL_URL_ROOT."/telephonie/contrat/stats.php?id=".$contrat->id;
|
||||||
$head[$h][1] = $langs->trans("Stats");
|
$head[$h][1] = $langs->trans("Stats");
|
||||||
$h++;
|
$h++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user