ajout possibilité de créer un projet
This commit is contained in:
parent
ac9c49315b
commit
c8cd2d6293
1 changed files with 5 additions and 1 deletions
|
|
@ -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 ' <a href=../projet/fiche.php?socidp='.$soc->id.'&action=create>'.$langs->trans("AddProject").'</a>';
|
||||
}
|
||||
print '</td></tr>';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue