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)) $selectedarray = $selected;
66 else $selectedarray = explode(
',', $selected);
84 $listofmethods = array();
86 $sql =
"SELECT rowid, code, libelle as label";
87 $sql .=
" FROM ".MAIN_DB_PREFIX.
"c_input_method";
88 $sql .=
" WHERE active = 1";
90 dol_syslog(get_class($this).
"::selectInputMethod", LOG_DEBUG);
98 while ($obj = $this->
db->fetch_object(
$resql)) {
99 $listofmethods[$obj->rowid] = $langs->trans($obj->code) != $obj->code ? $langs->trans($obj->code) : $obj->label;
$conf db
API class for accounts.
dol_syslog($message, $level=LOG_INFO, $ident=0, $suffixinfilename= '', $restricttologhandler= '', $logcontext=null)
Write log message into outputs.
Class to manage predefined suppliers products.
print
Draft customers invoices.
if(!empty($conf->facture->enabled)&&$user->rights->facture->lire) if((!empty($conf->fournisseur->enabled)&&empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD)||!empty($conf->supplier_invoice->enabled))&&$user->rights->fournisseur->facture->lire) if(!empty($conf->don->enabled)&&$user->rights->don->lire) if(!empty($conf->tax->enabled)&&$user->rights->tax->charges->lire) if(!empty($conf->facture->enabled)&&!empty($conf->commande->enabled)&&$user->rights->commande->lire &&empty($conf->global->WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER)) if(!empty($conf->facture->enabled)&&$user->rights->facture->lire) if((!empty($conf->fournisseur->enabled)&&empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD)||!empty($conf->supplier_invoice->enabled))&&$user->rights->fournisseur->facture->lire) $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...