25require_once DOL_DOCUMENT_ROOT.
'/core/class/html.form.class.php';
60 foreach ($statustohow as $key => $value) {
61 $tmpsupplierorder->statut = $key;
62 $options[$value] = $tmpsupplierorder->getLibStatut($short);
65 if (is_array($selected)) {
66 $selectedarray = $selected;
68 $selectedarray = explode(
',', $selected);
87 $listofmethods = array();
89 $sql =
"SELECT rowid, code, libelle as label";
90 $sql .=
" FROM ".$this->db->prefix().
"c_input_method";
91 $sql .=
" WHERE active = 1";
93 dol_syslog(get_class($this).
"::selectInputMethod", LOG_DEBUG);
94 $resql = $this->db->query($sql);
101 while ($obj = $this->db->fetch_object($resql)) {
102 $listofmethods[$obj->rowid] = $langs->trans($obj->code) != $obj->code ? $langs->trans($obj->code) : $obj->label;
Class to manage predefined suppliers products.
dol_print_error($db='', $error='', $errors=null)
Displays error message system with all the information to facilitate the diagnosis and the escalation...
dol_syslog($message, $level=LOG_INFO, $ident=0, $suffixinfilename='', $restricttologhandler='', $logcontext=null)
Write log message into outputs.