fix(kpi): move vision/values/uniqueness/identity sections above the strategic indicator table
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:
Nut.ไปเรื่อย
2026-08-27 11:20:40 +07:00
parent bbfcaa088e
commit 076f8ed4d7
+6 -5
View File
@@ -138,6 +138,12 @@ namespace rmutr_report.Controllers
ws.Cell("A1").Style.Font.FontSize = 16;
ws.Range("D2:E2").Merge().Value = "ค่าเป้าหมาย ปี " + _kpi.academic_year.Substring(2, 2);
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)
{
if (header.header_1 != null || header.header_1 != "")
@@ -269,11 +275,6 @@ namespace rmutr_report.Controllers
}
//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);
}
//}