When create a propal, select model document chosen by defaut in module config
This commit is contained in:
parent
5f1141675c
commit
8a3fae31e1
@ -1331,7 +1331,7 @@ if ($action == 'create')
|
|||||||
print '<td>'.$langs->trans("DefaultModel").'</td>';
|
print '<td>'.$langs->trans("DefaultModel").'</td>';
|
||||||
print '<td colspan="2">';
|
print '<td colspan="2">';
|
||||||
$liste=ModelePDFPropales::liste_modeles($db);
|
$liste=ModelePDFPropales::liste_modeles($db);
|
||||||
print $form->selectarray('model',$liste,$conf->global->PROPALE_ADDON_PDF);
|
print $form->selectarray('model',$liste,($conf->global->PROPALE_ADDON_PDF_ODT_DEFAULT?$conf->global->PROPALE_ADDON_PDF_ODT_DEFAULT:$conf->global->PROPALE_ADDON_PDF));
|
||||||
print "</td></tr>";
|
print "</td></tr>";
|
||||||
|
|
||||||
// Project
|
// Project
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user