no message

This commit is contained in:
kittapath 2024-10-21 14:33:52 +07:00
parent 33be7f1121
commit 75a6dd7e68
2 changed files with 2 additions and 3 deletions

View file

@ -403,7 +403,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
{
// Profile = profile,
Location = req.Location,
SendDate = req.SendDate,
SendDate = DateTime.Now,
ActiveDate = req.ActiveDate,
Reason = req.Reason,
// AmountOld = profile.Salaries.Count() == 0 ? null : profile.Salaries.OrderByDescending(x => x.Order).FirstOrDefault().Amount,
@ -542,7 +542,6 @@ namespace BMA.EHR.Retirement.Service.Controllers
return Error(GlobalMessages.RetirementResignNotFound, 404);
updated.Location = req.Location;
updated.SendDate = req.SendDate;
updated.ActiveDate = req.ActiveDate;
updated.Reason = req.Reason;
updated.OrganizationPositionOld = req.OrganizationPositionOld;

View file

@ -6,7 +6,7 @@ namespace BMA.EHR.Retirement.Service.Requests
public class RetirementResignRequest
{
public string? Location { get; set; }
public DateTime? SendDate { get; set; }
// public DateTime? SendDate { get; set; }
public DateTime? ActiveDate { get; set; }
public string? Reason { get; set; }
public string? OrganizationPositionOld { get; set; }