ajout possibilit de crer un projet

This commit is contained in:
Regis Houssin
2006-04-24 11:00:14 +00:00
parent ac9c49315b
commit c8cd2d6293

View File

@@ -398,7 +398,11 @@ if ($_GET['action'] == 'create' && $user->rights->commande->creer)
if ($conf->projet->enabled)
{
print '<tr><td>'.$langs->trans('Project').'</td><td>';
$html->select_projects($soc->id,$projetid,'projetid');
$numprojet=$html->select_projects($soc->id,$projetid,'projetidp');
if ($numprojet==0)
{
print ' &nbsp; <a href=../projet/fiche.php?socidp='.$soc->id.'&action=create>'.$langs->trans("AddProject").'</a>';
}
print '</td></tr>';
}