ดึงฟีลเหตุผลรายงานแนบท้ายคำสั่งใหข้าราชการลาออกจากราชการ

This commit is contained in:
Suphonchai Phoonsawat 2023-09-19 16:46:44 +07:00
parent 7cb3581bf1
commit fb74743ce6
4 changed files with 6 additions and 1 deletions

View file

@ -725,6 +725,7 @@ namespace BMA.EHR.Application.Repositories.Commands
PositionNumber = p.PositionNumberOld,
ActiveDate = p.ActiveDate == null ? "" : p.ActiveDate.Value.ToThaiFullDate3(),
Salary = p.Profile.Salaries == null || p.Profile.Salaries.Count == 0 ? 0 : p.Profile.Salaries.OrderByDescending(x => x.Order).FirstOrDefault().Amount.Value,
Remark = p.Reason ?? ""
})
.ToList();