49 $this->numero = 62000;
51 $this->rights_class =
'incoterm';
54 $this->family =
"srm";
55 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
57 $this->version =
'dolibarr';
59 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
60 $this->picto =
'incoterm';
62 $this->module_parts = array();
63 $this->dirs = array();
65 $this->config_page_url = array();
68 $this->hidden =
false;
69 $this->depends = array();
70 $this->requiredby = array();
71 $this->conflictwith = array();
72 $this->phpmin = array(7, 0);
73 $this->need_dolibarr_version = array(3, 0);
74 $this->langfiles = array(
"incoterm");
77 array(
'INCOTERM_ACTIVATE',
'chaine', 0,
'Description de INCOTERM_ACTIVATE')
80 $this->tabs = array();
83 if (!isset($conf->incoterm->enabled)) {
85 $conf->incoterm->enabled = 0;
87 $this->dictionaries = array(
88 'langs' =>
'incoterm',
89 'tabname' => array(
"c_incoterms"),
90 'tablib' => array(
"Incoterms"),
91 'tabsql' => array(
'SELECT rowid, code, libelle, active FROM '.MAIN_DB_PREFIX.
'c_incoterms'),
92 'tabsqlsort' => array(
"rowid ASC"),
93 'tabfield' => array(
"code,libelle"),
94 'tabfieldvalue' => array(
"code,libelle"),
95 'tabfieldinsert' => array(
"code,libelle"),
96 'tabrowid' => array(
"rowid"),
97 'tabcond' => array($conf->incoterm->enabled),
98 'tabhelp' => array(array())
101 $this->boxes = array();
105 $this->rights = array();
109 $this->menu = array();