Fix: [ bug #1775 ] New lines can be entered after contract validation
This commit is contained in:
parent
41118a174a
commit
b9d6f2a496
@ -1672,7 +1672,7 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Form to add new line
|
// Form to add new line
|
||||||
if ($user->rights->contrat->creer && ($object->statut >= 0))
|
if ($user->rights->contrat->creer && ($object->statut == 0))
|
||||||
{
|
{
|
||||||
$dateSelector=1;
|
$dateSelector=1;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user