Фикс статуса заказа

This commit is contained in:
Марат Заргаров 2023-05-14 22:19:24 +04:00
parent 284cab6b44
commit d53e1b3aab

View File

@ -130,7 +130,7 @@ namespace PizzeriaBusinessLogic
if (requiredStatus - model.Status == 1)
{
model.Status = requiredStatus;
if (model.Status == OrderStatus.Выдан)
if (model.Status == OrderStatus.Готов)
model.DateImplement = DateTime.Now;
if (_orderStorage.Update(model) == null)
{