This commit is contained in:
@@ -135,6 +135,7 @@ namespace AyaNova.Api.Controllers
|
||||
s.End = (DateTime)v.StopDate;
|
||||
s.Type = AyaType.WorkOrderItemScheduledUser;
|
||||
s.Name = NameFromWOItem(v, p);
|
||||
s.Editable = v.WorkOrderStatusCompleted != true && v.WorkOrderStatusLocked != true;//could be null as well which we'll consider open as it's no status set
|
||||
return s;
|
||||
}
|
||||
|
||||
@@ -218,6 +219,7 @@ namespace AyaNova.Api.Controllers
|
||||
public string TextColor { get; set; }
|
||||
public AyaType Type { get; set; }
|
||||
public long Id { get; set; }
|
||||
public bool Editable { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user