Ajout suppression impossible quand un service est activé
This commit is contained in:
parent
4fda2cdfd6
commit
bc8a221a53
1 changed files with 2 additions and 2 deletions
|
|
@ -551,7 +551,7 @@ else
|
|||
print '<td> </td>';
|
||||
}
|
||||
print '<td align="right">'.price($objp->subprice)."</td>\n";
|
||||
if ($contrat->statut == 0 && $user->rights->contrat->creer)
|
||||
if ($contrat->statut == 0 && $objp->statut == 0 && $user->rights->contrat->creer)
|
||||
{
|
||||
print '<td align="right"><a href="fiche.php?id='.$id.'&action=editline&rowid='.$objp->rowid.'">';
|
||||
print img_edit();
|
||||
|
|
@ -562,7 +562,7 @@ else
|
|||
}
|
||||
else
|
||||
{
|
||||
print '<td> </td><td> </td>';
|
||||
print '<td colspan="2"> </td>';
|
||||
}
|
||||
print "</tr>\n";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue