On peut supprimer un ocntact sur la facture

This commit is contained in:
Laurent Destailleur 2007-09-15 23:59:33 +00:00
parent 6c73c29ec8
commit b68ad5130b
2 changed files with 2 additions and 2 deletions

View File

@ -338,7 +338,7 @@ if ($id > 0)
// Icon update et delete
print '<td align="center" nowrap>';
if ($propal->statut < 5 && $user->rights->propale->creer)
if ($user->rights->propale->creer)
{
print '&nbsp;';
print '<a href="contact.php?propalid='.$propal->id.'&amp;action=deleteline&amp;lineid='.$tab[$i]['rowid'].'">';

View File

@ -330,7 +330,7 @@ if ($id > 0)
// Icon update et delete (statut contrat 0=brouillon,1=validé,2=fermé)
print '<td align="center" nowrap>';
if ($facture->statut == 0 && $user->rights->facture->creer)
if ($user->rights->facture->creer)
{
print '&nbsp;';
print '<a href="contact.php?facid='.$facture->id.'&amp;action=deleteline&amp;lineid='.$tab[$i]['rowid'].'">';