48 $this->numero = 62000;
50 $this->rights_class =
'incoterm';
53 $this->family =
"srm";
54 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
56 $this->version =
'dolibarr';
58 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
59 $this->picto =
'incoterm';
61 $this->module_parts = array();
62 $this->dirs = array();
64 $this->config_page_url = array();
67 $this->hidden =
false;
68 $this->depends = array();
69 $this->requiredby = array();
70 $this->conflictwith = array();
71 $this->phpmin = array(7, 0);
72 $this->need_dolibarr_version = array(3, 0);
73 $this->langfiles = array(
"incoterm");
76 array(
'INCOTERM_ACTIVATE',
'chaine', 0,
'Description de INCOTERM_ACTIVATE')
79 $this->tabs = array();
82 if (!isset($conf->incoterm->enabled)) {
84 $conf->incoterm->enabled = 0;
86 $this->dictionaries = array(
88 'tabname'=>array(
"c_incoterms"),
89 'tablib'=>array(
"Incoterms"),
90 'tabsql'=>array(
'SELECT rowid, code, libelle, active FROM '.MAIN_DB_PREFIX.
'c_incoterms'),
91 'tabsqlsort'=>array(
"rowid ASC"),
92 'tabfield'=>array(
"code,libelle"),
93 'tabfieldvalue'=>array(
"code,libelle"),
94 'tabfieldinsert'=>array(
"code,libelle"),
95 'tabrowid'=>array(
"rowid"),
96 'tabcond'=>array($conf->incoterm->enabled),
97 'tabhelp' => array(array())
100 $this->boxes = array();
104 $this->rights = array();
108 $this->menu = array();