noti retire
This commit is contained in:
parent
2fc1587d18
commit
b0062b57a1
3 changed files with 59 additions and 26 deletions
|
|
@ -669,7 +669,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
var profile = req.Persons.FirstOrDefault(x => x.ProfileId == item.profileId);
|
||||
if (profile != null)
|
||||
{
|
||||
await _repositoryNoti.PushNotificationAsyncV2(
|
||||
await _repositoryNoti.PushNotificationAsync(
|
||||
item.profileId,
|
||||
$"หนังสือเวียนถึงแก่กรรมของ {item.RetirementDeceased.prefix}{item.RetirementDeceased.firstName} {item.RetirementDeceased.lastName}",
|
||||
$"แจ้งข่าวการถึงแก่กรรมของ {item.RetirementDeceased.prefix}{item.RetirementDeceased.firstName} {item.RetirementDeceased.lastName}",
|
||||
|
|
@ -683,7 +683,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
}
|
||||
else
|
||||
{
|
||||
await _repositoryNoti.PushNotificationAsyncV2(
|
||||
await _repositoryNoti.PushNotificationAsync(
|
||||
item.profileId,
|
||||
$"หนังสือเวียนถึงแก่กรรมของ {item.RetirementDeceased.prefix}{item.RetirementDeceased.firstName} {item.RetirementDeceased.lastName}",
|
||||
$"แจ้งข่าวการถึงแก่กรรมของ {item.RetirementDeceased.prefix}{item.RetirementDeceased.firstName} {item.RetirementDeceased.lastName}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue