Fix: Suppression contact
This commit is contained in:
parent
8fca6e8adb
commit
e79f7d1495
@ -414,9 +414,9 @@ if ($id > 0)
|
|||||||
print '</a>';
|
print '</a>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Icon update et delete (statut contrat 0=brouillon,1=validé,2=fermé)
|
// Icon update et delete
|
||||||
print '<td align="center" nowrap>';
|
print '<td align="center" nowrap>';
|
||||||
if ($commande->statut == 0 && $user->rights->facture->creer)
|
if ($commande->statut < 5 && $user->rights->commande->creer)
|
||||||
{
|
{
|
||||||
print ' ';
|
print ' ';
|
||||||
print '<a href="contact.php?id='.$commande->id.'&action=deleteline&lineid='.$tab[$i]['rowid'].'">';
|
print '<a href="contact.php?id='.$commande->id.'&action=deleteline&lineid='.$tab[$i]['rowid'].'">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user