25 require_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);
 
  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.
 
if(isModEnabled('facture') &&!empty($user->rights->facture->lire)) if((isModEnabled('fournisseur') &&empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD) && $user->hasRight("fournisseur", "facture", "lire"))||(isModEnabled('supplier_invoice') && $user->hasRight("supplier_invoice", "lire"))) if(isModEnabled('don') &&!empty($user->rights->don->lire)) if(isModEnabled('tax') &&!empty($user->rights->tax->charges->lire)) if(isModEnabled('facture') &&isModEnabled('commande') && $user->hasRight("commande", "lire") &&empty($conf->global->WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER)) $resql
Social contributions to pay.
 
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.
 
$conf db
API class for accounts.