Add description, createdDate, locationId to GetWorkorderById response

This commit is contained in:
Adam Moussa 2026-04-16 17:37:21 -04:00
parent 60fc933da7
commit 5a4d8e2240

View file

@ -554,10 +554,13 @@ namespace Api.SeaHavenIndustries.Controllers
s.Id,
s.WorkerOrderNumber,
title = s.WorkerOrderTitle,
s.Description,
s.CreatedDate,
s.DueDate,
s.Status,
assignee = s.AssignToUser != null ? s.AssignToUser.FirstName : "",
location = s.Locations != null ? s.Locations.Name : "",
locationId = s.LocationId,
priority = s.Priority,
s.PO,
s.TT,