Fix: suppression de PRODUCTNOTE
This commit is contained in:
parent
9c2990c692
commit
2632248a27
@ -47,7 +47,6 @@ $modules = array(
|
||||
$conditions = array(
|
||||
'SOCIETE' => $conf->societe->enabled,
|
||||
'PRODUCTDESC' => ($conf->produit->enabled||$conf->service->enabled),
|
||||
'PRODUCTNOTE' => ($conf->produit->enabled||$conf->service->enabled),
|
||||
'DETAILS' => ($conf->facture->enabled||$conf->propal->enabled||$conf->commande->enabled),
|
||||
'MAILING' => $conf->mailing->enabled,
|
||||
'MEMBER' => $conf->adherent->enabled
|
||||
|
||||
@ -185,7 +185,7 @@ if ($_GET["action"] == 'edit')
|
||||
}
|
||||
print '</td></tr>';
|
||||
print '<tr><td valign="top" width="15%">'.$langs->trans('Note').'</td><td>';
|
||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTNOTE)
|
||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
||||
$doleditor=new DolEditor('note-'.$key.'',$product->multilangs[$key]["note"],160,'dolibarr_notes','',false);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user