29 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
50 $this->family =
"financial";
51 $this->module_position =
'60';
53 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
54 $this->
description =
"Gestion sommaire de comptabilite";
57 $this->version =
'dolibarr';
59 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
60 $this->picto =
'accounting';
63 $this->config_page_url = array(
"compta.php");
66 $this->depends = array(
"modFacture",
"modBanque");
67 $this->requiredby = array();
68 $this->conflictwith = array(
"modAccounting");
69 $this->langfiles = array(
"compta");
72 $this->
const = array();
77 "/comptabilite/rapport",
78 "/comptabilite/export",
79 "/comptabilite/bordereau"
83 $this->boxes = array();
86 $this->rights = array();
87 $this->rights_class =
'compta';
91 $this->rights[$r][0] = 95;
92 $this->rights[$r][1] =
'Lire CA, bilans, resultats';
93 $this->rights[$r][2] =
'r';
94 $this->rights[$r][3] = 0;
95 $this->rights[$r][4] =
'resultat';
96 $this->rights[$r][5] =
'lire';
113 public function init($options =
'')
118 $this->
remove($options);
122 return $this->
_init($sql, $options);
init($options= '')
Function called when module is enabled.
</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.
__construct($db)
Constructor.
_init($array_sql, $options= '')
Enables a module.
Class to describe and enable module Comptabilite.