30include_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 =
'accountancy';
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($array_sql, $options='')
Enables a module.
Class to describe and enable module Comptabilite.
init($options='')
Function called when module is enabled.
__construct($db)
Constructor.
print $script_file $mode $langs defaultlang(is_numeric($duration_value) ? " delay=". $duration_value :"").(is_numeric($duration_value2) ? " after cd cd cd description as description
Only used if Module[ID]Desc translation string is not found.
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...
$conf db name
Only used if Module[ID]Name translation string is not found.