26 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
44 $this->numero = 68000;
46 $this->family =
"financial";
47 $this->module_position =
'100';
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(5, 6);
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))
91 $conf->intracommreport =
new stdClass();
92 $conf->intracommreport->enabled = 0;
94 $this->dictionaries = array();
97 $this->rights = array();
98 $this->rights_class =
'intracommreport';
102 $this->rights[$r][0] = 68001;
103 $this->rights[$r][1] =
'Read intracomm report';
104 $this->rights[$r][2] =
'r';
105 $this->rights[$r][3] = 0;
106 $this->rights[$r][4] =
'read';
109 $this->rights[$r][0] = 68002;
110 $this->rights[$r][1] =
'Create/modify intracomm report';
111 $this->rights[$r][2] =
'w';
112 $this->rights[$r][3] = 0;
113 $this->rights[$r][4] =
'write';
116 $this->rights[$r][0] = 68004;
117 $this->rights[$r][1] =
'Delete intracomm report';
118 $this->rights[$r][2] =
'd';
119 $this->rights[$r][3] = 0;
120 $this->rights[$r][4] =
'delete';
123 $this->menu = array();
__construct($db)
Constructor.
Description and activation class for module intracommreport.
</td > param sortfield sortorder printFieldListOption< tdclass="liste_titremaxwidthsearchright"></td ></tr >< trclass="liste_titre">< inputtype="checkbox"onClick="toggle(this)"/> Ref p ref Label p label Duration p duration center DesiredStock p desiredstock right StockLimitShort p seuil_stock_alerte right stock_physique right stock_real_warehouse right Ordered right StockToBuy right SupplierRef right param sortfield sortorder printFieldListTitle warehouseinternal SELECT description FROM product_lang WHERE qty< br > qty qty qty StockTooLow StockTooLow help help help< trclass="oddeven">< td >< inputtype="checkbox"class="check"name="choose'.$i.'"></td >< tdclass="nowrap"> stock</td >< td >< inputtype="hidden"name="desc'.$i.'"value="'.dol_escape_htmltag($objp-> description
Only used if Module[ID]Desc translation string is not found.
$conf db name
Only used if Module[ID]Name translation string is not found.
$conf db
API class for accounts.