Фикс кода отдачи заказа на выполнение
This commit is contained in:
parent
86fa2bf375
commit
9e79e50027
@ -60,8 +60,6 @@ namespace SecuritySystemBusinessLogic.BusinessLogics
|
|||||||
_logger.LogWarning("Status change operation failed");
|
_logger.LogWarning("Status change operation failed");
|
||||||
throw new InvalidOperationException("Текущий статус заказа не может быть переведен в выбранный");
|
throw new InvalidOperationException("Текущий статус заказа не может быть переведен в выбранный");
|
||||||
}
|
}
|
||||||
if (element.ImplementerId.HasValue)
|
|
||||||
model.ImplementerId = element.ImplementerId;
|
|
||||||
OrderStatus oldStatus = model.Status;
|
OrderStatus oldStatus = model.Status;
|
||||||
model.Status = status;
|
model.Status = status;
|
||||||
if (model.Status == OrderStatus.Выдан)
|
if (model.Status == OrderStatus.Выдан)
|
||||||
|
Loading…
Reference in New Issue
Block a user