Job card report problem solved
This commit is contained in:
parent
62d6ccb45c
commit
be93060dea
|
@ -1242,6 +1242,7 @@ namespace HRM.Report
|
||||||
string shortAttnType = "";
|
string shortAttnType = "";
|
||||||
if (!(dAttnProcessess == null || dAttnProcessess.Count <= 0))
|
if (!(dAttnProcessess == null || dAttnProcessess.Count <= 0))
|
||||||
{
|
{
|
||||||
|
dAttnProcessess= dAttnProcessess.OrderBy(x => x.AttnDate).ToList();
|
||||||
foreach (DailyAttnProcess dAttnProcess in dAttnProcessess)
|
foreach (DailyAttnProcess dAttnProcess in dAttnProcessess)
|
||||||
{
|
{
|
||||||
sLeaveName = string.Empty;
|
sLeaveName = string.Empty;
|
||||||
|
@ -1413,10 +1414,10 @@ namespace HRM.Report
|
||||||
dTable.Rows.Add(Rowbody);
|
dTable.Rows.Add(Rowbody);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DataView dv = dTable.DefaultView;
|
//DataView dv = dTable.DefaultView;
|
||||||
dv.Sort = "Date ASC";
|
//dv.Sort = "Date ASC";
|
||||||
DataTable sortedDT = dv.ToTable();
|
//DataTable sortedDT = dv.ToTable();
|
||||||
return sortedDT;
|
return dTable;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DataTable GetEmpDailyAttn(int EmpID, DateTime dFromDate, DateTime dToDate, int PayrollTypeID)
|
public DataTable GetEmpDailyAttn(int EmpID, DateTime dFromDate, DateTime dToDate, int PayrollTypeID)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user