fix(kpi): move vision/values/uniqueness/identity sections above the strategic indicator table
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
Matches the field order on the budget policy form itself, where these 4 categories are entered before ประเด็นยุทธศาสตร์/เป้าหมายหลัก/ตัวชี้วัดกลยุทธ์.
This commit is contained in:
@@ -138,6 +138,12 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell("A1").Style.Font.FontSize = 16;
|
ws.Cell("A1").Style.Font.FontSize = 16;
|
||||||
ws.Range("D2:E2").Merge().Value = "ค่าเป้าหมาย ปี " + _kpi.academic_year.Substring(2, 2);
|
ws.Range("D2:E2").Merge().Value = "ค่าเป้าหมาย ปี " + _kpi.academic_year.Substring(2, 2);
|
||||||
ws.Range("D2:E2").Style.Font.Bold = true;
|
ws.Range("D2:E2").Style.Font.Bold = true;
|
||||||
|
|
||||||
|
WriteReferenceHeaders(ws, _kpi.vision_data, ref row, ref rowno);
|
||||||
|
WriteReferenceHeaders(ws, _kpi.popularity_data, ref row, ref rowno);
|
||||||
|
WriteReferenceHeaders(ws, _kpi.uniqueness_data, ref row, ref rowno);
|
||||||
|
WriteReferenceHeaders(ws, _kpi.identity_data, ref row, ref rowno);
|
||||||
|
|
||||||
foreach (var header in _kpi.header_data)
|
foreach (var header in _kpi.header_data)
|
||||||
{
|
{
|
||||||
if (header.header_1 != null || header.header_1 != "")
|
if (header.header_1 != null || header.header_1 != "")
|
||||||
@@ -269,11 +275,6 @@ namespace rmutr_report.Controllers
|
|||||||
}
|
}
|
||||||
//row++;
|
//row++;
|
||||||
}
|
}
|
||||||
|
|
||||||
WriteReferenceHeaders(ws, _kpi.vision_data, ref row, ref rowno);
|
|
||||||
WriteReferenceHeaders(ws, _kpi.popularity_data, ref row, ref rowno);
|
|
||||||
WriteReferenceHeaders(ws, _kpi.uniqueness_data, ref row, ref rowno);
|
|
||||||
WriteReferenceHeaders(ws, _kpi.identity_data, ref row, ref rowno);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//}
|
//}
|
||||||
|
|||||||
Reference in New Issue
Block a user