Исправлен время выполнения заказа

This commit is contained in:
Данияр Аглиуллов 2023-02-06 22:05:06 +04:00
parent 47cf1ab393
commit 8ceb065f32

View File

@ -98,7 +98,8 @@ namespace ConfectioneryBusinessLogic.BusinessLogics
}
model.Status = orderStatus;
model.DateCreate = vmodel.DateCreate;
model.DateImplement = vmodel.DateImplement;
if (model.DateImplement == null)
model.DateImplement = vmodel.DateImplement;
model.PastryId = vmodel.PastryId;
model.Sum = vmodel.Sum;
model.Count= vmodel.Count;