On peut supprimer un ocntact sur la facture
This commit is contained in:
parent
6c73c29ec8
commit
b68ad5130b
@ -338,7 +338,7 @@ if ($id > 0)
|
|||||||
|
|
||||||
// Icon update et delete
|
// Icon update et delete
|
||||||
print '<td align="center" nowrap>';
|
print '<td align="center" nowrap>';
|
||||||
if ($propal->statut < 5 && $user->rights->propale->creer)
|
if ($user->rights->propale->creer)
|
||||||
{
|
{
|
||||||
print ' ';
|
print ' ';
|
||||||
print '<a href="contact.php?propalid='.$propal->id.'&action=deleteline&lineid='.$tab[$i]['rowid'].'">';
|
print '<a href="contact.php?propalid='.$propal->id.'&action=deleteline&lineid='.$tab[$i]['rowid'].'">';
|
||||||
|
|||||||
@ -330,7 +330,7 @@ if ($id > 0)
|
|||||||
|
|
||||||
// Icon update et delete (statut contrat 0=brouillon,1=validé,2=fermé)
|
// Icon update et delete (statut contrat 0=brouillon,1=validé,2=fermé)
|
||||||
print '<td align="center" nowrap>';
|
print '<td align="center" nowrap>';
|
||||||
if ($facture->statut == 0 && $user->rights->facture->creer)
|
if ($user->rights->facture->creer)
|
||||||
{
|
{
|
||||||
print ' ';
|
print ' ';
|
||||||
print '<a href="contact.php?facid='.$facture->id.'&action=deleteline&lineid='.$tab[$i]['rowid'].'">';
|
print '<a href="contact.php?facid='.$facture->id.'&action=deleteline&lineid='.$tab[$i]['rowid'].'">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user