30include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
48 $this->family =
"financial";
49 $this->module_position =
'60';
51 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
52 $this->
description =
"Gestion sommaire de comptabilite";
55 $this->version =
'dolibarr';
57 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
58 $this->picto =
'accountancy';
61 $this->config_page_url = array(
"compta.php");
64 $this->depends = array(
"modFacture",
"modBanque");
65 $this->requiredby = array();
66 $this->conflictwith = array(
"modAccounting");
67 $this->langfiles = array(
"compta");
70 $this->
const = array();
75 "/comptabilite/rapport",
76 "/comptabilite/export",
77 "/comptabilite/bordereau"
81 $this->boxes = array();
84 $this->rights = array();
85 $this->rights_class =
'compta';
89 $this->rights[$r][0] = 95;
90 $this->rights[$r][1] =
'Lire CA, bilans, resultats';
91 $this->rights[$r][2] =
'r';
92 $this->rights[$r][3] = 0;
93 $this->rights[$r][4] =
'resultat';
94 $this->rights[$r][5] =
'lire';
111 public function init($options =
'')
116 $this->
remove($options);
120 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.