Skip to content
Snippets Groups Projects
Commit ee4a94ed authored by Regis Houssin's avatar Regis Houssin
Browse files

dans show_documents prise en compte du module commande

parent 4b4d7faf
No related branches found
No related tags found
No related merge requests found
......@@ -1837,6 +1837,16 @@ class Form
$model=new ModelePDFPropales();
$modellist=$model->liste_modeles($this->db);
}
}
else if ($modulepart == 'commande')
{
if (is_array($genallowed)) $modellist=$genallowed;
else
{
include_once(DOL_DOCUMENT_ROOT.'/includes/modules/commande/modules_commande.php');
$model=new ModelePDFCommandes();
$modellist=$model->liste_modeles();
}
}
elseif ($modulepart == 'facture')
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment