change word

This commit is contained in:
Suphonchai Phoonsawat 2025-06-05 15:36:44 +07:00 committed by kittapath
parent 40babdf1a7
commit 588e13c3f5
3 changed files with 13 additions and 13 deletions

View file

@ -625,7 +625,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = _firstCommander!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-employee-detail/{rawData.RetirementResignEmployee.Id}",
Payload = $"{URL}/retirement/resign-employee-detail-reject/{rawData.RetirementResignEmployee.Id}",
};
_dbContext.Set<Notification>().Add(_noti1);
}
@ -643,7 +643,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = firstCommander!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-employee-detail/{rawData.RetirementResignEmployee.Id}",
Payload = $"{URL}/retirement/resign-employee-detail-reject/{rawData.RetirementResignEmployee.Id}",
};
_dbContext.Set<Notification>().Add(noti1);
await _dbContext.SaveChangesAsync();
@ -731,7 +731,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = nextApprover!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-employee-detail/{rawData.RetirementResignEmployee.Id}",
Payload = $"{URL}/retirement/resign-employee-detail-reject/{rawData.RetirementResignEmployee.Id}",
};
_dbContext.Set<Notification>().Add(noti);
await _dbContext.SaveChangesAsync();
@ -758,7 +758,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = firstCommander!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-employee-detail/{rawData.RetirementResignEmployee.Id}",
Payload = $"{URL}/retirement/resign-employee-detail-reject/{rawData.RetirementResignEmployee.Id}",
};
_dbContext.Set<Notification>().Add(noti1);
await _dbContext.SaveChangesAsync();
@ -820,7 +820,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = nextApprover!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-employee-detail/{rawData.RetirementResignEmployee.Id}",
Payload = $"{URL}/retirement/resign-employee-detail-reject/{rawData.RetirementResignEmployee.Id}",
};
_dbContext.Set<Notification>().Add(noti);
@ -848,7 +848,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = firstCommander!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-employee-detail/{rawData.RetirementResignEmployee.Id}",
Payload = $"{URL}/retirement/resign-employee-detail-reject/{rawData.RetirementResignEmployee.Id}",
};
_dbContext.Set<Notification>().Add(noti1);
await _dbContext.SaveChangesAsync();

View file

@ -550,7 +550,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = _firstCommander!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-detail/{rawData.RetirementResign.Id}",
Payload = $"{URL}/retirement/resign-detail-reject/{rawData.RetirementResign.Id}",
};
_dbContext.Set<Notification>().Add(_noti1);
}
@ -566,7 +566,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = firstCommander!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-detail/{rawData.RetirementResign.Id}",
Payload = $"{URL}/retirement/resign-detail-reject/{rawData.RetirementResign.Id}",
};
_dbContext.Set<Notification>().Add(noti1);
await _dbContext.SaveChangesAsync();
@ -626,7 +626,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = nextApprover!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-detail/{rawData.RetirementResign.Id}",
Payload = $"{URL}/retirement/resign-detail-reject/{rawData.RetirementResign.Id}",
};
_dbContext.Set<Notification>().Add(noti);
await _dbContext.SaveChangesAsync();
@ -650,7 +650,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = firstCommander!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-detail/{rawData.RetirementResign.Id}",
Payload = $"{URL}/retirement/resign-detail-reject/{rawData.RetirementResign.Id}",
};
_dbContext.Set<Notification>().Add(noti1);
}
@ -713,7 +713,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = nextApprover!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-detail/{rawData.RetirementResign.Id}",
Payload = $"{URL}/retirement/resign-detail-reject/{rawData.RetirementResign.Id}",
};
_dbContext.Set<Notification>().Add(noti);
@ -742,7 +742,7 @@ namespace BMA.EHR.Application.Repositories
Body = $"การขอยกเลิกลาออกของคุณ {rawData.firstName} {rawData.lastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = firstCommander!.ProfileId,
Type = "",
Payload = $"{URL}/retirement/resign-detail/{rawData.RetirementResign.Id}",
Payload = $"{URL}/retirement/resign-detail-reject/{rawData.RetirementResign.Id}",
};
_dbContext.Set<Notification>().Add(noti1);
}

View file

@ -1746,7 +1746,7 @@ namespace BMA.EHR.Leave.Service.Controllers
// Send Notification
var noti1 = new Notification
{
Body = $"การขอลาของคุณ {data.FirstName} {data.LastName} รอรับการอนุมัติจากคุณ",
Body = $"คำร้องขอยกเลิกการลาของคุณ {data.FirstName} {data.LastName} รอรับการอนุมัติจากคุณ",
ReceiverUserId = approver!.ProfileId,
Type = "",
Payload = $"{URL}/leave/detail/{id}",