Forbid patch contract.status from pending to signed if required contract fields are empty
Preconditions
Процедура з контрактом в статусі pending
Steps To Reproduce
1.Завантажити в контракт документ contractSigned
2.Зробити PATCH контракта {"status": "signed"}
Expected results
{
"message": {
"description": "Required field",
"title": "Required field",
"dateSigned": "Required field",
"contractNumber": "Required field",
}
Actual results
Ressponse 200. Статус змінився на signed
Для LRE валідація працює