Commit 3e91b605 authored by jfefe's avatar jfefe

Update tab definition into module descriptor

parent 7d25741a
......@@ -137,20 +137,9 @@ class modHosting extends DolibarrModules
// 1=>array('MODULE_MY_NEW_CONST2','chaine','myvalue','This is another constant to add',0) );
//$this->triggers = 1;
// Onglets
$this->tabs = array(
'thirdparty:+tabHosting:Hosting:hosting@hosting:$user->rights->hosting->read:/hosting/host_list.php?socid=__ID__',
//'intervention:Hosting:@hosting:/hosting/hosting.php?socid=__ID__'
);
// where entity can be
// 'thirdparty' to add a tab in third party view
// 'intervention' to add a tab in intervention view
// 'supplier_order' to add a tab in supplier order view
// 'supplier_invoice' to add a tab in supplier invoice view
// 'invoice' to add a tab in customer invoice view
// 'order' to add a tab in customer order view
// 'product' to add a tab in product view
// 'propal' to add a tab in propal view
// 'member' to add a tab in fundation member view
$this->tabs = array();
$this->tabs[] = array('data' => 'thirdparty:+tabHosting:Hosting:hosting@hosting:$user->rights->hosting->read:/hosting/host_list.php?socid=__ID__');
// Dictionnaries
if (! isset($conf->hosting) || ! isset($conf->hosting->enabled)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment