change APPOINTED to APPOINT

This commit is contained in:
moss 2025-03-27 12:00:32 +07:00
parent 9be78c8bdc
commit 8460a96db0
3 changed files with 19 additions and 19 deletions

View file

@ -758,7 +758,7 @@ namespace BMA.EHR.Placement.Service.Controllers
placementProfiles.ForEach(profile =>
{
profile.Status = "REPORT";
profile.typeCommand = "APPOINTED";
profile.typeCommand = "APPOINT";
});
await _context.SaveChangesAsync();
return Success();
@ -1029,7 +1029,7 @@ namespace BMA.EHR.Placement.Service.Controllers
OldPositionNumber = p.PositionNumberOld == null ? "-" : p.PositionNumberOld.ToThaiNumber(),
OldSalary = p.AmountOld == null ? "-" : p.AmountOld.Value.ToNumericNoDecimalText().ToThaiNumber(),
LeaveDate = "-",
NewOc =(p.position == null ? "" : $"{p.position}\n") +
NewOc = (p.position == null ? "" : $"{p.position}\n") +
(p.PositionExecutive == null ? "" : $"{p.PositionExecutive}\n") +
(p.child4 == null ? "" : $"{p.child4}\n") +
(p.child3 == null ? "" : $"{p.child3}\n") +
@ -1657,7 +1657,7 @@ namespace BMA.EHR.Placement.Service.Controllers
p.rootOld != null ? $"{p.rootShortNameOld}{p.posMasterNoOld}".ToThaiNumber() : "-",
OldSalary = p.AmountOld == null ? "-" : p.AmountOld.Value.ToNumericNoDecimalText().ToThaiNumber(),
PositionDate = p.PositionDate == null ? "-" : p.PositionDate.Value.ToThaiShortDate2().ToThaiNumber(),
NewOc = (p.position == null ? "" : $"{p.position}\n") +
NewOc = (p.position == null ? "" : $"{p.position}\n") +
(p.PositionExecutive == null ? "" : $"{p.PositionExecutive}\n") +
(p.child4 == null ? "" : $"{p.child4}\n") +
(p.child3 == null ? "" : $"{p.child3}\n") +