diff --git a/LawFirm/LawFirmFileImplement/Models/Order.cs b/LawFirm/LawFirmFileImplement/Models/Order.cs index dcbaad9..077fb47 100644 --- a/LawFirm/LawFirmFileImplement/Models/Order.cs +++ b/LawFirm/LawFirmFileImplement/Models/Order.cs @@ -74,12 +74,11 @@ namespace LawFirmFileImplement.Models { return; } - DocumentId = model.DocumentId; - Count = model.Count; - Sum = model.Sum; Status = model.Status; - DateCreate = model.DateCreate; - DateImplement = model.DateImplement; + if (model.DateImplement.HasValue) + { + DateImplement = model.DateImplement; + } } public OrderViewModel GetViewModel => new()