Merge branch 'dev' into adiDev
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m45s
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m45s
This commit is contained in:
commit
6f1ca58f04
4 changed files with 10 additions and 4 deletions
|
|
@ -1513,7 +1513,10 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
return Error(GlobalMessages.RetirementResignNotFound, 404);
|
return Error(GlobalMessages.RetirementResignNotFound, 404);
|
||||||
|
|
||||||
updated.Location = req.Location;
|
updated.Location = req.Location;
|
||||||
updated.ActiveDate = req.ActiveDate;
|
if (req.SendDate != null)
|
||||||
|
{
|
||||||
|
updated.SendDate = req.SendDate;
|
||||||
|
}
|
||||||
// updated.Reason = req.Reason;
|
// updated.Reason = req.Reason;
|
||||||
updated.Remark = req.Remark;
|
updated.Remark = req.Remark;
|
||||||
updated.ReasonResign = req.Reason;
|
updated.ReasonResign = req.Reason;
|
||||||
|
|
|
||||||
|
|
@ -1450,7 +1450,10 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
return Error(GlobalMessages.RetirementResignEmployeeNotFound, 404);
|
return Error(GlobalMessages.RetirementResignEmployeeNotFound, 404);
|
||||||
|
|
||||||
updated.Location = req.Location;
|
updated.Location = req.Location;
|
||||||
updated.ActiveDate = req.ActiveDate;
|
if (req.SendDate != null)
|
||||||
|
{
|
||||||
|
updated.SendDate = req.SendDate;
|
||||||
|
}
|
||||||
// updated.Reason = req.Reason;
|
// updated.Reason = req.Reason;
|
||||||
updated.Remark = req.Remark;
|
updated.Remark = req.Remark;
|
||||||
updated.ReasonResign = req.Reason;
|
updated.ReasonResign = req.Reason;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ namespace BMA.EHR.Retirement.Service.Requests
|
||||||
public class RetirementResignEmployeeRequest
|
public class RetirementResignEmployeeRequest
|
||||||
{
|
{
|
||||||
public string? Location { get; set; }
|
public string? Location { get; set; }
|
||||||
// public DateTime? SendDate { get; set; }
|
public DateTime? SendDate { get; set; }
|
||||||
public DateTime? ActiveDate { get; set; }
|
public DateTime? ActiveDate { get; set; }
|
||||||
public string? Reason { get; set; }
|
public string? Reason { get; set; }
|
||||||
public string? Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ namespace BMA.EHR.Retirement.Service.Requests
|
||||||
public class RetirementResignRequest
|
public class RetirementResignRequest
|
||||||
{
|
{
|
||||||
public string? Location { get; set; }
|
public string? Location { get; set; }
|
||||||
// public DateTime? SendDate { get; set; }
|
public DateTime? SendDate { get; set; }
|
||||||
public DateTime? ActiveDate { get; set; }
|
public DateTime? ActiveDate { get; set; }
|
||||||
public string? Reason { get; set; }
|
public string? Reason { get; set; }
|
||||||
public string? Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue