Merge branch 'dev' into adiDev
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m45s

This commit is contained in:
Adisak 2026-06-04 16:54:17 +07:00
commit 6f1ca58f04
4 changed files with 10 additions and 4 deletions

View file

@ -1513,7 +1513,10 @@ namespace BMA.EHR.Retirement.Service.Controllers
return Error(GlobalMessages.RetirementResignNotFound, 404);
updated.Location = req.Location;
updated.ActiveDate = req.ActiveDate;
if (req.SendDate != null)
{
updated.SendDate = req.SendDate;
}
// updated.Reason = req.Reason;
updated.Remark = req.Remark;
updated.ReasonResign = req.Reason;

View file

@ -1450,7 +1450,10 @@ namespace BMA.EHR.Retirement.Service.Controllers
return Error(GlobalMessages.RetirementResignEmployeeNotFound, 404);
updated.Location = req.Location;
updated.ActiveDate = req.ActiveDate;
if (req.SendDate != null)
{
updated.SendDate = req.SendDate;
}
// updated.Reason = req.Reason;
updated.Remark = req.Remark;
updated.ReasonResign = req.Reason;

View file

@ -6,7 +6,7 @@ namespace BMA.EHR.Retirement.Service.Requests
public class RetirementResignEmployeeRequest
{
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? Remark { get; set; }

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? Remark { get; set; }