44 $this->numero = 68000;
46 $this->family =
"financial";
47 $this->module_position =
'62';
49 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
50 $this->
description =
"Intracomm report management (Support for French DEB/DES format)";
53 $this->version =
'development';
55 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
56 $this->picto =
'intracommreport';
59 $this->dirs = array(
'/intracommreport/temp');
62 $this->config_page_url = array(
"intracommreport.php@intracommreport");
65 $this->depends = array(
"modFacture",
"modTax",
"modCategorie");
66 $this->requiredby = array();
67 $this->conflictwith = array();
68 $this->phpmin = array(7, 0);
69 $this->need_dolibarr_version = array(13, 0, -5);
70 $this->langfiles = array(
"intracommreport");
77 $this->
const = array();
80 $this->tabs = array();
83 $this->module_parts = array();
86 $this->boxes = array();
89 if (!isset($conf->intracommreport->enabled)) {
90 $conf->intracommreport =
new stdClass();
91 $conf->intracommreport->enabled = 0;
93 $this->dictionaries = array();
96 $this->rights = array();
97 $this->rights_class =
'intracommreport';
101 $this->rights[$r][0] = 68001;
102 $this->rights[$r][1] =
'Read intracomm report';
103 $this->rights[$r][2] =
'r';
104 $this->rights[$r][3] = 0;
105 $this->rights[$r][4] =
'read';
108 $this->rights[$r][0] = 68002;
109 $this->rights[$r][1] =
'Create/modify intracomm report';
110 $this->rights[$r][2] =
'w';
111 $this->rights[$r][3] = 0;
112 $this->rights[$r][4] =
'write';
115 $this->rights[$r][0] = 68004;
116 $this->rights[$r][1] =
'Delete intracomm report';
117 $this->rights[$r][2] =
'd';
118 $this->rights[$r][3] = 0;
119 $this->rights[$r][4] =
'delete';
122 $this->menu = array();