fix: ignore disposition status for supplementary contract upload
This commit is contained in:
@@ -95,7 +95,6 @@ class DispositionVoter extends Voter
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Disposition::STATUS_ENDED === $disposition->getStatus()
|
return null === $disposition->getDocumentByType(Upload::TYPE_CONTRACT);
|
||||||
&& null === $disposition->getDocumentByType(Upload::TYPE_CONTRACT);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user