ajout possibilit de crer un projet
This commit is contained in:
parent
ac9c49315b
commit
c8cd2d6293
@ -398,7 +398,11 @@ if ($_GET['action'] == 'create' && $user->rights->commande->creer)
|
|||||||
if ($conf->projet->enabled)
|
if ($conf->projet->enabled)
|
||||||
{
|
{
|
||||||
print '<tr><td>'.$langs->trans('Project').'</td><td>';
|
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>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user