no message
This commit is contained in:
parent
33be7f1121
commit
75a6dd7e68
2 changed files with 2 additions and 3 deletions
|
|
@ -403,7 +403,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
{
|
{
|
||||||
// Profile = profile,
|
// Profile = profile,
|
||||||
Location = req.Location,
|
Location = req.Location,
|
||||||
SendDate = req.SendDate,
|
SendDate = DateTime.Now,
|
||||||
ActiveDate = req.ActiveDate,
|
ActiveDate = req.ActiveDate,
|
||||||
Reason = req.Reason,
|
Reason = req.Reason,
|
||||||
// AmountOld = profile.Salaries.Count() == 0 ? null : profile.Salaries.OrderByDescending(x => x.Order).FirstOrDefault().Amount,
|
// 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);
|
return Error(GlobalMessages.RetirementResignNotFound, 404);
|
||||||
|
|
||||||
updated.Location = req.Location;
|
updated.Location = req.Location;
|
||||||
updated.SendDate = req.SendDate;
|
|
||||||
updated.ActiveDate = req.ActiveDate;
|
updated.ActiveDate = req.ActiveDate;
|
||||||
updated.Reason = req.Reason;
|
updated.Reason = req.Reason;
|
||||||
updated.OrganizationPositionOld = req.OrganizationPositionOld;
|
updated.OrganizationPositionOld = req.OrganizationPositionOld;
|
||||||
|
|
|
||||||
|
|
@ -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? OrganizationPositionOld { get; set; }
|
public string? OrganizationPositionOld { get; set; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue