fix รายงานใบลา ข้อมูลแสดงในรายงานแสดงไม่ครบ #2184
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m24s
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m24s
This commit is contained in:
parent
1c3ce46bcb
commit
90ea986831
2 changed files with 7 additions and 8 deletions
|
|
@ -2618,10 +2618,9 @@ namespace BMA.EHR.Leave.Service.Controllers
|
|||
updatedAt = x.LastUpdatedAt.HasValue
|
||||
? x.LastUpdatedAt.Value.Date.ToThaiShortDate().ToThaiNumber()
|
||||
: "...... /...... /......",
|
||||
comment = (x.Comment ?? "")
|
||||
.Replace("\r", "")
|
||||
.Replace("\n", "")
|
||||
.Trim(),
|
||||
comment = !string.IsNullOrEmpty(x.Comment)
|
||||
? x.Comment.Replace("\r", "").Replace("\n", "").Trim()
|
||||
: "......................",
|
||||
approveType = (x.ApproveType ?? "").Trim().ToUpper()
|
||||
})
|
||||
.ToList();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue