ดึงฟีลเหตุผลรายงานแนบท้ายคำสั่งใหข้าราชการลาออกจากราชการ
This commit is contained in:
parent
7cb3581bf1
commit
fb74743ce6
4 changed files with 6 additions and 1 deletions
|
|
@ -725,6 +725,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
||||||
PositionNumber = p.PositionNumberOld,
|
PositionNumber = p.PositionNumberOld,
|
||||||
ActiveDate = p.ActiveDate == null ? "" : p.ActiveDate.Value.ToThaiFullDate3(),
|
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,
|
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();
|
.ToList();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
namespace BMA.EHR.Application.Responses.Reports
|
using System.Diagnostics.Contracts;
|
||||||
|
|
||||||
|
namespace BMA.EHR.Application.Responses.Reports
|
||||||
{
|
{
|
||||||
public class CommandType03Response
|
public class CommandType03Response
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -19,5 +19,7 @@
|
||||||
public double Salary { get; set; } = 0;
|
public double Salary { get; set; } = 0;
|
||||||
|
|
||||||
public string ActiveDate { get; set; } = string.Empty;
|
public string ActiveDate { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public string Remark { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue