ปรับปรุงรายงานให้ดูง่ายขึ้น

This commit is contained in:
Nakorn Rientrakrunchai
2020-03-12 16:38:14 +07:00
parent e30e8ea575
commit 9301e2cf08
15 changed files with 36 additions and 29 deletions

View File

@@ -33,9 +33,9 @@ namespace TodoAPI2.Models
public rep_familyWithSelectionViewModel GetBlankItem()
{
var i = new rep_familyWithSelectionViewModel();
i.item_employee_id = (from x in emp.GetListByemployee_type(null, null) select x).ToList();
i.item_position_id = (from x in ext.GetPositionForReport() select x).ToList();
i.item_org_id = (from x in ext.GetDepartmentDataForReport() select x).ToList();
i.item_employee_id = (from x in emp.GetListByemployee_type(null, null) orderby x.fullname select x).ToList();
i.item_position_id = (from x in ext.GetPositionForReport() orderby x.external_name select x).ToList();
i.item_org_id = (from x in ext.GetDepartmentDataForReport() orderby x.external_name select x).ToList();
i.item_relation_id = (from x in ext.GetRelationshipForReport() select x).ToList();