mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 07:13:12 +00:00
Include commenter and recordType in GetWorkorderById comments response
This commit is contained in:
parent
5a4d8e2240
commit
cc87039a77
1 changed files with 1 additions and 1 deletions
|
|
@ -574,7 +574,7 @@ namespace Api.SeaHavenIndustries.Controllers
|
|||
s.SignOffName,
|
||||
s.SignOffAttachment,
|
||||
s.SignOffSignature,
|
||||
Comments = s.Comments.Select(c => new { c.Id, c.CreatedDate, c.Commenttext, c.Documents, userName = c.ApplicationUser != null ? c.ApplicationUser.FirstName : "" }),
|
||||
Comments = s.Comments.Select(c => new { c.Id, c.CreatedDate, c.Commenttext, c.Commenter, c.RecordType, c.Documents, userName = c.ApplicationUser != null ? c.ApplicationUser.FirstName : "" }),
|
||||
quotes = s.Quotes.Select(q => new { code = q.QuotId, q.Id })
|
||||
}).FirstOrDefaultAsync();
|
||||
if (exist == null)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue