28 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
47 $this->family =
"technic";
48 $this->module_position =
'78';
50 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
51 $this->
description =
"Direct mail document generation";
53 $this->version =
'development';
55 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
56 $this->picto =
'email';
59 $this->dirs = array(
"/documentgeneration/temp");
65 $this->depends = array();
66 $this->requiredby = array();
67 $this->conflictwith = array();
68 $this->langfiles = array(
"orders",
"bills",
"companies",
"mails");
72 $this->
const = array();
75 $this->boxes = array();
78 $this->rights = array();
79 $this->rights_class =
'document';
83 $this->rights[$r][0] = 1521;
84 $this->rights[$r][1] =
'Lire les documents';
85 $this->rights[$r][2] =
'r';
86 $this->rights[$r][3] = 0;
87 $this->rights[$r][4] =
'lire';
90 $this->rights[$r][0] = 1522;
91 $this->rights[$r][1] =
'Supprimer les documents clients';
92 $this->rights[$r][2] =
'd';
93 $this->rights[$r][3] = 0;
94 $this->rights[$r][4] =
'supprimer';
106 public function init($options =
'')
111 $this->
remove($options);
115 return $this->
_init($sql, $options);
</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.
init($options= '')
Function called when module is enabled.
$conf db name
Only used if Module[ID]Name translation string is not found.
$conf db
API class for accounts.
__construct($db)
Constructor.
Class to describe and enable module Document.
_init($array_sql, $options= '')
Enables a module.