Merge branch 'develop' of github.com:Frappet/hrms-api-backend into develop
Some checks failed
release-dev / release-dev (push) Failing after 11s
Some checks failed
release-dev / release-dev (push) Failing after 11s
This commit is contained in:
commit
3542906e41
2 changed files with 2 additions and 2 deletions
|
|
@ -217,7 +217,7 @@ namespace BMA.EHR.Application.Repositories.Leaves.LeaveRequests
|
|||
var rawData = _dbContext.Set<LeaveRequest>().AsNoTracking()
|
||||
.Include(x => x.Type)
|
||||
.Where(x => x.LeaveStatus != "DRAFT")
|
||||
.OrderByDescending(x => x.CreatedAt.Date)
|
||||
.OrderByDescending(x => x.CreatedAt)
|
||||
.AsQueryable();
|
||||
|
||||
if (year != 0)
|
||||
|
|
|
|||
|
|
@ -1379,7 +1379,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
|||
LeaveTypeName = item.Type.Name,
|
||||
FullName = $"{item.Prefix}{item.FirstName} {item.LastName}",
|
||||
ProfileType = item.ProfileType ?? "-",
|
||||
DateSendLeave = item.CreatedAt.Date,
|
||||
DateSendLeave = item.CreatedAt,
|
||||
Status = item.LeaveStatus,
|
||||
CitizenId = item.CitizenId ?? "",
|
||||
LeaveStartDate = item.LeaveStartDate,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue