noti leave cancel
This commit is contained in:
parent
f72d705101
commit
8be20b1365
1 changed files with 2 additions and 3 deletions
|
|
@ -1734,10 +1734,9 @@ namespace BMA.EHR.Leave.Service.Controllers
|
||||||
// save to database
|
// save to database
|
||||||
await _leaveRequestRepository.UpdateWithTrackingAsync(data);
|
await _leaveRequestRepository.UpdateWithTrackingAsync(data);
|
||||||
|
|
||||||
|
// TODO: Send notification to all users who need to approve the cancel leave request
|
||||||
// TODO: Send notification to 1st Commander
|
|
||||||
var approvers = data.Approvers
|
var approvers = data.Approvers
|
||||||
.Where(x => x.ApproveType!.ToUpper() == "COMMANDER")
|
.Where(x => x.ApproveStatus!.ToUpper() == "PENDING")
|
||||||
.OrderBy(x => x.Seq)
|
.OrderBy(x => x.Seq)
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue