Fix: include wrong class
This commit is contained in:
parent
1e07ed6af6
commit
3390a514e1
@ -1280,6 +1280,9 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
|
|||||||
*********************************************************************/
|
*********************************************************************/
|
||||||
if ($action == 'create' && $user->rights->commande->creer)
|
if ($action == 'create' && $user->rights->commande->creer)
|
||||||
{
|
{
|
||||||
|
//WYSIWYG Editor
|
||||||
|
require_once(DOL_DOCUMENT_ROOT."/core/class/doleditor.class.php");
|
||||||
|
|
||||||
print_fiche_titre($langs->trans('CreateOrder'));
|
print_fiche_titre($langs->trans('CreateOrder'));
|
||||||
|
|
||||||
dol_htmloutput_mesg($mesg,$mesgs,'error');
|
dol_htmloutput_mesg($mesg,$mesgs,'error');
|
||||||
@ -1464,9 +1467,6 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//WYSIWYG Editor
|
|
||||||
include_once(DOL_DOCUMENT_ROOT.'/core/modules/commande/modules_commande.php');
|
|
||||||
|
|
||||||
// Template to use by default
|
// Template to use by default
|
||||||
print '<tr><td>'.$langs->trans('Model').'</td>';
|
print '<tr><td>'.$langs->trans('Model').'</td>';
|
||||||
print '<td colspan="2">';
|
print '<td colspan="2">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user