This commit is contained in:
parent
294fc79425
commit
223e876152
2 changed files with 27 additions and 0 deletions
|
|
@ -89,6 +89,17 @@ namespace BMA.EHR.Application.Repositories.Reports
|
|||
output_desc = string.IsNullOrEmpty(x.output_desc) ? string.Empty : x.output_desc.ToThaiNumber(),
|
||||
}).ToList();
|
||||
|
||||
var skills = probation_assign.result.skills.Select(x => new
|
||||
{
|
||||
id = string.IsNullOrEmpty(x.id.ToString()) ? string.Empty : x.id.ToString().ToThaiNumber(),
|
||||
title = string.IsNullOrEmpty(x.title) ? string.Empty : x.title.ToThaiNumber(),
|
||||
description = string.IsNullOrEmpty(x.description) ? string.Empty : x.description.ToThaiNumber(),
|
||||
}).ToList();
|
||||
|
||||
var laws = probation_assign.result.laws.Where(x => x.selected == true).Select((x, Index) => new
|
||||
{
|
||||
title = string.IsNullOrEmpty(x.description) ? string.Empty : $"{Index + 1}. {x.description.ToThaiNumber()}",
|
||||
}).ToList();
|
||||
|
||||
return new
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue