diff --git a/htdocs/comm/propal/contact.php b/htdocs/comm/propal/contact.php index 61767a46073..8a871f0dd93 100644 --- a/htdocs/comm/propal/contact.php +++ b/htdocs/comm/propal/contact.php @@ -338,7 +338,7 @@ if ($id > 0) // Icon update et delete print ''; - if ($propal->statut < 5 && $user->rights->propale->creer) + if ($user->rights->propale->creer) { print ' '; print ''; diff --git a/htdocs/compta/facture/contact.php b/htdocs/compta/facture/contact.php index 4ee2c994a8c..0dcc5fbdf9d 100644 --- a/htdocs/compta/facture/contact.php +++ b/htdocs/compta/facture/contact.php @@ -330,7 +330,7 @@ if ($id > 0) // Icon update et delete (statut contrat 0=brouillon,1=validé,2=fermé) print ''; - if ($facture->statut == 0 && $user->rights->facture->creer) + if ($user->rights->facture->creer) { print ' '; print '';