add report

This commit is contained in:
kamonwan taengsuk
2023-07-06 18:24:06 +07:00
parent 7d39937527
commit 2bdfb659c9
21 changed files with 333 additions and 2454 deletions

View File

@@ -1554,5 +1554,41 @@ namespace rmutr_report.Controllers
"basic_plan_all_" + date + ".xlsx");
}
}
[HttpPost, Route("reports/summary_strategic/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetSumStrategicReport([FromRoute] string type, [FromBody] summary_strategic summary_strategics)
{ var _summary_strategic = new List<summary_strategic>() { summary_strategics };
Report report = new Report();
report.Load(_setting.report_path + "summary_strategic.frx");
report.RegisterData(_summary_strategic, "summary_strategic");
report.Prepare();
MemoryStream stream = new MemoryStream();
switch (type)
{
case "pdf":
PDFExport pdf = new PDFExport();
report.Export(pdf, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "application/pdf");
case "xls":
case "xlsx":
Excel2007Export excel = new Excel2007Export();
report.Export(excel, stream);
stream.Seek(0, SeekOrigin.Begin);
//return File(stream, "application/vnd.ms-excel");
string date = DateTime.Now.ToString("yyyyMMddHHmmss");
return File(
stream,
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
date + ".xlsx");
break;
}
return Ok();
}
}
}

View File

@@ -7920,9 +7920,10 @@ namespace rmutr_report.Controllers
row++;
}
if (detail.topic_type == 3)
if (detail.topic_type == 3)
{
ws.Range(ws.Cell(row, 1), ws.Cell(row, 4)).Merge().Value = " "+detail.topic;
ws.Range(ws.Cell(row, 1), ws.Cell(row, 4)).Merge().Value = " " + detail.topic;
ws.Cell(row, 5).Value = detail.act_rate;
ws.Cell(row, 6).Value = detail.act_budget;
ws.Cell(row, 7).Value = detail.money_outside;
@@ -8012,7 +8013,7 @@ namespace rmutr_report.Controllers
row++;
}
if (detail.is_header == true)
{
ws.Cell(row + 1, 1).Value = "ส่วนที่ 2 เงินเพิ่มอื่นที่จ่ายควบกับเงินเดือน";
@@ -8276,7 +8277,8 @@ namespace rmutr_report.Controllers
ws.Range(ws.Cell(row + 2, 15), ws.Cell(row + 4, 19)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
}
if (detail.topic_type == 4)
if (detail.topic_type == 4)
{
ws.Cell(row + 5, 2).Value = "รวมทั้งสิ้น";
ws.Cell(row + 5, 5).Value = detail.request_budget_rate;
@@ -8289,8 +8291,6 @@ namespace rmutr_report.Controllers
ws.Cell(row + 5, 12).Value = detail.mtef_2_budget;
ws.Cell(row + 5, 13).Value = detail.mtef_3_rate;
ws.Cell(row + 5, 14).Value = detail.mtef_3_budget;
ws.Cell(row + 5, 15).Value = detail.remark;
ws.Range(ws.Cell(row + 5, 15), ws.Cell(row + 5, 19)).Merge().Value = detail.remark;
//ws.Cell(row + 5, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
@@ -8337,286 +8337,228 @@ namespace rmutr_report.Controllers
ws.Cell(row + 5, 14).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Right;
ws.Cell(row + 5, 15).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
}
ws.Cell(row + 6, 1).Value = "หมายเหตุ : " + detail.remark;
ws.Cell(row + 6, 1).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Left;
ws.Cell(row + 6, 1).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 6, 1), ws.Cell(row + 6, 19)).Style.Alignment.WrapText = true;
ws.Cell(row + 6, 1).Style.Font.FontName = "TH SarabunPSK";
ws.Cell(row + 6, 1).Style.Font.SetBold().Font.FontSize = 16;
}
// foreach (var detail2 in personnel.set_personnel_budget_university_details_2)
// {
// if (detail2.is_header == true)
// {
// ws.Cell(row + 1, 1).Value = "ส่วนที่ 2 เงินเพิ่มอื่นที่จ่ายควบกับเงินเดือน";
// ws.Cell(row + 1, 1).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
// ws.Cell(row + 1, 1).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
// ws.Cell(row + 1, 1).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 1, 1).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 1, 4).Value = "งบประมาณ";
// ws.Cell(row + 1, 4).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Right;
// ws.Cell(row + 1, 4).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
// ws.Cell(row + 1, 4).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 1, 4).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 1, 6).Value = personnel.additional_money_paid_with_salary;
// ws.Cell(row + 1, 6).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 1, 6).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
// ws.Cell(row + 1, 6).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 1, 6).Style.Font.SetBold().Font.FontSize = 16;
//
// ws.Cell(row + 1, 7).Value = "ล้านบาท";
// ws.Cell(row + 1, 7).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
// ws.Cell(row + 1, 7).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
// ws.Cell(row + 1, 7).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 1, 7).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 1, 19).Value = "หน่วย : ล้านบาท (ทศนิยม 4 ตำแหน่ง)";
// ws.Cell(row + 1, 19).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Right;
// ws.Cell(row + 1, 19).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
// ws.Cell(row + 1, 19).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 1, 19).Style.Font.SetBold().Font.FontSize = 16;
//
// ws.Cell(row + 3, 1).Value = "ประเภท";
// ws.Cell(row + 3, 1).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 3, 1).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
// ws.Cell(row + 3, 1).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 3, 1).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 2, 1).Style.Fill.BackgroundColor = XLColor.FromArgb(214, 220, 228);
// ws.Cell(row + 3, 1).Style.Fill.BackgroundColor = XLColor.FromArgb(214, 220, 228);
// ws.Cell(row + 4, 1).Style.Fill.BackgroundColor = XLColor.FromArgb(214, 220, 228);
// ws.Cell(row + 4, 1).Style.Border.BottomBorder = XLBorderStyleValues.Thin;
// ws.Cell(row + 2, 1).Style.Border.TopBorder = XLBorderStyleValues.Thin;
//
// ws.Cell(row + 3, 3).Value = "รายการ";
// ws.Cell(row + 3, 3).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 3, 3).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
// ws.Cell(row + 3, 3).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 3, 3).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 2, 2).Style.Fill.BackgroundColor = XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 2, 3).Style.Fill.BackgroundColor = XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 2, 4).Style.Fill.BackgroundColor = XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 3, 2).Style.Fill.BackgroundColor = XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 3, 3).Style.Fill.BackgroundColor = XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 3, 4).Style.Fill.BackgroundColor = XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 4, 2).Style.Fill.BackgroundColor = XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 4, 3).Style.Fill.BackgroundColor = XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 4, 4).Style.Fill.BackgroundColor = XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 4, 3).Style.Border.BottomBorder = XLBorderStyleValues.Thin;
// ws.Cell(row + 2, 2).Style.Border.TopBorder = XLBorderStyleValues.Thin;
// ws.Cell(row + 2, 3).Style.Border.TopBorder = XLBorderStyleValues.Thin;
// ws.Cell(row + 2, 4).Style.Border.TopBorder = XLBorderStyleValues.Thin;
// ws.Range(ws.Cell(row + 2, 5), ws.Cell(row + 2, 8)).Merge().Value = "งปม. 2566";
// ws.Range(ws.Cell(row + 2, 5), ws.Cell(row + 2, 8)).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Range(ws.Cell(row + 2, 5), ws.Cell(row + 2, 8)).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Range(ws.Cell(row + 2, 5), ws.Cell(row + 2, 8)).Style.Font.FontName = "TH SarabunPSK";
// ws.Range(ws.Cell(row + 2, 5), ws.Cell(row + 2, 8)).Style.Font.SetBold().Font.FontSize = 16;
// ws.Range(ws.Cell(row + 2, 5), ws.Cell(row + 2, 8)).Style.Fill.BackgroundColor =
// XLColor.FromArgb(214, 220, 228);
// ws.Range(ws.Cell(row + 2, 5), ws.Cell(row + 2, 8)).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Range(ws.Cell(row + 3, 5), ws.Cell(row + 3, 6)).Merge().Value = "คำขอ";
// ws.Range(ws.Cell(row + 3, 5), ws.Cell(row + 3, 6)).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Range(ws.Cell(row + 3, 5), ws.Cell(row + 3, 6)).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Range(ws.Cell(row + 3, 5), ws.Cell(row + 3, 6)).Style.Font.FontName = "TH SarabunPSK";
// ws.Range(ws.Cell(row + 3, 5), ws.Cell(row + 3, 6)).Style.Font.SetBold().Font.FontSize = 16;
// ws.Range(ws.Cell(row + 3, 5), ws.Cell(row + 3, 6)).Style.Fill.BackgroundColor =
// XLColor.FromArgb(214, 220, 228);
// ws.Range(ws.Cell(row + 3, 5), ws.Cell(row + 3, 6)).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Range(ws.Cell(row + 3, 7), ws.Cell(row + 3, 8)).Merge().Value = "ข้อเสนอ";
// ws.Range(ws.Cell(row + 3, 7), ws.Cell(row + 3, 8)).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Range(ws.Cell(row + 3, 7), ws.Cell(row + 3, 8)).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Range(ws.Cell(row + 3, 7), ws.Cell(row + 3, 8)).Style.Font.FontName = "TH SarabunPSK";
// ws.Range(ws.Cell(row + 3, 7), ws.Cell(row + 3, 8)).Style.Font.SetBold().Font.FontSize = 16;
// ws.Range(ws.Cell(row + 3, 7), ws.Cell(row + 3, 8)).Style.Fill.BackgroundColor =
// XLColor.FromArgb(214, 220, 228);
// ws.Range(ws.Cell(row + 3, 7), ws.Cell(row + 3, 8)).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Cell(row + 4, 5).Value = "อัตรา";
// ws.Cell(row + 4, 5).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 4, 5).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Cell(row + 4, 5).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 4, 5).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 4, 5).Style.Fill.BackgroundColor =
// XLColor.FromArgb(214, 220, 228);
// ws.Cell(row + 4, 5).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Cell(row + 4, 6).Value = "งบประมาณ";
// ws.Cell(row + 4, 6).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 4, 6).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Cell(row + 4, 6).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 4, 6).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 4, 6).Style.Fill.BackgroundColor =
// XLColor.FromArgb(214, 220, 228);
// ws.Cell(row + 4, 6).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Cell(row + 4, 7).Value = "อัตรา";
// ws.Cell(row + 4, 7).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 4, 7).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Cell(row + 4, 7).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 4, 7).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 4, 7).Style.Fill.BackgroundColor =
// XLColor.FromArgb(214, 220, 228);
// ws.Cell(row + 4, 7).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Cell(row + 4, 8).Value = "งบประมาณ";
// ws.Cell(row + 4, 8).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 4, 8).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Cell(row + 4, 8).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 4, 8).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 4, 8).Style.Fill.BackgroundColor =
// XLColor.FromArgb(214, 220, 228);
// ws.Cell(row + 4, 8).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Range(ws.Cell(row + 2, 9), ws.Cell(row + 2, 14)).Merge().Value = "MTEF";
// ws.Range(ws.Cell(row + 2, 9), ws.Cell(row + 2, 14)).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Range(ws.Cell(row + 2, 9), ws.Cell(row + 2, 14)).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Range(ws.Cell(row + 2, 9), ws.Cell(row + 2, 14)).Style.Font.FontName = "TH SarabunPSK";
// ws.Range(ws.Cell(row + 2, 9), ws.Cell(row + 2, 14)).Style.Font.SetBold().Font.FontSize = 16;
// ws.Range(ws.Cell(row + 2, 9), ws.Cell(row + 2, 14)).Style.Fill.BackgroundColor =
// XLColor.FromArgb(172, 185, 202);
// ws.Range(ws.Cell(row + 2, 9), ws.Cell(row + 2, 14)).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
//
// ws.Range(ws.Cell(row + 3, 9), ws.Cell(row + 3, 10)).Merge().Value = "2567";
// ws.Range(ws.Cell(row + 3, 9), ws.Cell(row + 3, 10)).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Range(ws.Cell(row + 3, 9), ws.Cell(row + 3, 10)).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Range(ws.Cell(row + 3, 9), ws.Cell(row + 3, 10)).Style.Font.FontName = "TH SarabunPSK";
// ws.Range(ws.Cell(row + 3, 9), ws.Cell(row + 3, 10)).Style.Font.SetBold().Font.FontSize = 16;
// ws.Range(ws.Cell(row + 3, 9), ws.Cell(row + 3, 10)).Style.Fill.BackgroundColor =
// XLColor.FromArgb(172, 185, 202);
// ws.Range(ws.Cell(row + 3, 9), ws.Cell(row + 3, 10)).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
//
// ws.Range(ws.Cell(row + 3, 11), ws.Cell(row + 3, 12)).Merge().Value = "2568";
// ws.Range(ws.Cell(row + 3, 11), ws.Cell(row + 3, 12)).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Range(ws.Cell(row + 3, 11), ws.Cell(row + 3, 12)).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Range(ws.Cell(row + 3, 11), ws.Cell(row + 3, 12)).Style.Font.FontName = "TH SarabunPSK";
// ws.Range(ws.Cell(row + 3, 11), ws.Cell(row + 3, 12)).Style.Font.SetBold().Font.FontSize =
// 16;
// ws.Range(ws.Cell(row + 3, 11), ws.Cell(row + 3, 12)).Style.Fill.BackgroundColor =
// XLColor.FromArgb(172, 185, 202);
// ws.Range(ws.Cell(row + 3, 11), ws.Cell(row + 3, 12)).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Range(ws.Cell(row + 3, 13), ws.Cell(row + 3, 14)).Merge().Value = "2569";
// ws.Range(ws.Cell(row + 3, 13), ws.Cell(row + 3, 14)).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Range(ws.Cell(row + 3, 13), ws.Cell(row + 3, 14)).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Range(ws.Cell(row + 3, 13), ws.Cell(row + 3, 14)).Style.Font.FontName = "TH SarabunPSK";
// ws.Range(ws.Cell(row + 3, 13), ws.Cell(row + 3, 14)).Style.Font.SetBold().Font.FontSize =
// 16;
// ws.Range(ws.Cell(row + 3, 13), ws.Cell(row + 3, 14)).Style.Fill.BackgroundColor =
// XLColor.FromArgb(172, 185, 202);
// ws.Range(ws.Cell(row + 3, 13), ws.Cell(row + 3, 14)).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
//
// ws.Cell(row + 4, 9).Value = "อัตรา";
// ws.Cell(row + 4, 9).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 4, 9).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Cell(row + 4, 9).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 4, 9).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 4, 9).Style.Fill.BackgroundColor =
// XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 4, 9).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Cell(row + 4, 10).Value = "งบประมาณ";
// ws.Cell(row + 4, 10).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 4, 10).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Cell(row + 4, 10).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 4, 10).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 4, 10).Style.Fill.BackgroundColor =
// XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 4, 10).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Cell(row + 4, 11).Value = "อัตรา";
// ws.Cell(row + 4, 11).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 4, 11).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Cell(row + 4, 11).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 4, 11).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 4, 11).Style.Fill.BackgroundColor =
// XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 4, 11).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Cell(row + 4, 12).Value = "งบประมาณ";
// ws.Cell(row + 4, 12).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 4, 12).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Cell(row + 4, 12).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 4, 12).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 4, 12).Style.Fill.BackgroundColor =
// XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 4, 12).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Cell(row + 4, 13).Value = "อัตรา";
// ws.Cell(row + 4, 13).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 4, 13).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Cell(row + 4, 13).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 4, 13).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 4, 13).Style.Fill.BackgroundColor =
// XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 4, 13).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Cell(row + 4, 14).Value = "งบประมาณ";
// ws.Cell(row + 4, 14).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Cell(row + 4, 14).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Cell(row + 4, 14).Style.Font.FontName = "TH SarabunPSK";
// ws.Cell(row + 4, 14).Style.Font.SetBold().Font.FontSize = 16;
// ws.Cell(row + 4, 14).Style.Fill.BackgroundColor =
// XLColor.FromArgb(172, 185, 202);
// ws.Cell(row + 4, 14).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// ws.Range(ws.Cell(row + 2, 15), ws.Cell(row + 4, 19)).Merge().Value = "คำชี้แจง";
// ws.Range(ws.Cell(row + 2, 15), ws.Cell(row + 4, 19)).Style.Alignment.Horizontal =
// XLAlignmentHorizontalValues.Center;
// ws.Range(ws.Cell(row + 2, 15), ws.Cell(row + 4, 19)).Style.Alignment.Vertical =
// XLAlignmentVerticalValues.Center;
// ws.Range(ws.Cell(row + 2, 15), ws.Cell(row + 4, 19)).Style.Font.FontName = "TH SarabunPSK";
// ws.Range(ws.Cell(row + 2, 15), ws.Cell(row + 4, 19)).Style.Font.SetBold().Font.FontSize =
// 16;
// ws.Range(ws.Cell(row + 2, 15), ws.Cell(row + 4, 19)).Style.Fill.BackgroundColor =
// XLColor.FromArgb(214, 220, 228);
// ws.Range(ws.Cell(row + 2, 15), ws.Cell(row + 4, 19)).Style.Border.OutsideBorder =
// XLBorderStyleValues.Thin;
// }
//
//
// }
foreach (var detail2 in personnel.set_personnel_budget_university_details_2)
{
if (detail2.is_header == true)
{
ws.Range(ws.Cell(row + 8, 1), ws.Cell(row + 10, 4)).Merge().Value = "รายการ";
ws.Range(ws.Cell(row + 8, 1), ws.Cell(row + 10, 4)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 8, 1), ws.Cell(row + 10, 4)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 8, 1), ws.Cell(row + 10, 4)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 8, 1), ws.Cell(row + 10, 4)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 8, 1), ws.Cell(row + 10, 4)).Style.Fill.BackgroundColor =
XLColor.FromArgb(172, 185, 202);
ws.Range(ws.Cell(row + 8, 1), ws.Cell(row + 10, 4)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
// ws.Cell(row + 6, 1).Value = "หมายเหตุ : " + personnel.remark;
ws.Cell(row + 6, 1).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Left;
ws.Cell(row + 6, 1).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 6, 1), ws.Cell(row + 6, 19)).Style.Alignment.WrapText = true;
ws.Cell(row + 6, 1).Style.Font.FontName = "TH SarabunPSK";
ws.Cell(row + 6, 1).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 8, 5), ws.Cell(row + 8, 10)).Merge().Value = "แผนการใช้จ่ายประจำปี 2565";
ws.Range(ws.Cell(row + 8, 5), ws.Cell(row + 8, 10)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 8, 5), ws.Cell(row + 8, 10)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 8, 5), ws.Cell(row + 8, 10)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 8, 5), ws.Cell(row + 8, 10)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 8, 5), ws.Cell(row + 8, 10)).Style.Fill.BackgroundColor =
XLColor.FromArgb(214, 220, 228);
ws.Range(ws.Cell(row + 8, 5), ws.Cell(row + 8, 10)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 9, 5), ws.Cell(row + 9, 6)).Merge().Value = "งปม 2565(ทั้งหน่วยงาน)";
ws.Range(ws.Cell(row + 9, 5), ws.Cell(row + 9, 6)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 9, 5), ws.Cell(row + 9, 6)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 9, 5), ws.Cell(row + 9, 6)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 9, 5), ws.Cell(row + 9, 6)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 9, 5), ws.Cell(row + 9, 6)).Style.Fill.BackgroundColor =
XLColor.FromArgb(214, 220, 228);
ws.Range(ws.Cell(row + 9, 5), ws.Cell(row + 9, 6)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 9, 7), ws.Cell(row + 9, 8)).Merge().Value = "แผนบุคลากรภาครัฐ";
ws.Range(ws.Cell(row + 9, 7), ws.Cell(row + 9, 8)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 9, 7), ws.Cell(row + 9, 8)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 9, 7), ws.Cell(row + 9, 8)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 9, 7), ws.Cell(row + 9, 8)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 9, 7), ws.Cell(row + 9, 8)).Style.Fill.BackgroundColor =
XLColor.FromArgb(214, 220, 228);
ws.Range(ws.Cell(row + 9, 7), ws.Cell(row + 9, 8)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 9, 9), ws.Cell(row + 9, 10)).Merge().Value = "ร้อยละ";
ws.Range(ws.Cell(row + 9, 9), ws.Cell(row + 9, 10)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 9, 9), ws.Cell(row + 9, 10)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 9, 9), ws.Cell(row + 9, 10)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 9, 9), ws.Cell(row + 9, 10)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 9, 9), ws.Cell(row + 9, 10)).Style.Fill.BackgroundColor =
XLColor.FromArgb(214, 220, 228);
ws.Range(ws.Cell(row + 9, 9), ws.Cell(row + 9, 10)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 10, 5), ws.Cell(row + 10, 6)).Merge().Value = "'(1)";
ws.Range(ws.Cell(row + 10, 5), ws.Cell(row + 10, 6)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 10, 5), ws.Cell(row + 10, 6)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 10, 5), ws.Cell(row + 10, 6)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 10, 5), ws.Cell(row + 10, 6)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 10, 5), ws.Cell(row + 10, 6)).Style.Fill.BackgroundColor =
XLColor.FromArgb(214, 220, 228);
ws.Range(ws.Cell(row + 10, 5), ws.Cell(row + 10, 6)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 10, 7), ws.Cell(row + 10, 8)).Merge().Value = "'(2)";
ws.Range(ws.Cell(row + 10, 7), ws.Cell(row + 10, 8)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 10, 7), ws.Cell(row + 10, 8)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 10, 7), ws.Cell(row + 10, 8)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 10, 7), ws.Cell(row + 10, 8)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 10, 7), ws.Cell(row + 10, 8)).Style.Fill.BackgroundColor =
XLColor.FromArgb(214, 220, 228);
ws.Range(ws.Cell(row + 10, 7), ws.Cell(row + 10, 8)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 10, 9), ws.Cell(row + 10, 10)).Merge().Value = "'(3) = (2)/(1)*100";
ws.Range(ws.Cell(row + 10, 9), ws.Cell(row + 10, 10)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 10, 9), ws.Cell(row + 10, 10)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 10, 9), ws.Cell(row + 10, 10)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 10, 9), ws.Cell(row + 10, 10)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 10, 9), ws.Cell(row + 10, 10)).Style.Fill.BackgroundColor =
XLColor.FromArgb(214, 220, 228);
ws.Range(ws.Cell(row + 10, 9), ws.Cell(row + 10, 10)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
//
ws.Range(ws.Cell(row + 8, 11), ws.Cell(row + 8, 16)).Merge().Value = "แผนการใช้จ่ายประจำปี 2566";
ws.Range(ws.Cell(row + 8, 11), ws.Cell(row + 8, 16)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 8, 11), ws.Cell(row + 8, 16)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 8, 11), ws.Cell(row + 8, 16)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 8, 11), ws.Cell(row + 8, 16)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 8, 11), ws.Cell(row + 8, 16)).Style.Fill.BackgroundColor =
XLColor.FromArgb(172, 185, 202);
ws.Range(ws.Cell(row + 8, 11), ws.Cell(row + 8, 16)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 9, 11), ws.Cell(row + 9, 12)).Merge().Value = "งปม 2566(ทั้งหน่วยงาน)";
ws.Range(ws.Cell(row + 9, 11), ws.Cell(row + 9, 12)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 9, 11), ws.Cell(row + 9, 12)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 9, 11), ws.Cell(row + 9, 12)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 9, 11), ws.Cell(row + 9, 12)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 9, 11), ws.Cell(row + 9, 12)).Style.Fill.BackgroundColor =
XLColor.FromArgb(172, 185, 202);
ws.Range(ws.Cell(row + 9, 11), ws.Cell(row + 9, 12)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 9, 13), ws.Cell(row + 9, 14)).Merge().Value = "แผนบุคลากรภาครัฐ";
ws.Range(ws.Cell(row + 9, 13), ws.Cell(row + 9, 14)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 9, 13), ws.Cell(row + 9, 14)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 9, 13), ws.Cell(row + 9, 14)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 9, 13), ws.Cell(row + 9, 14)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 9, 13), ws.Cell(row + 9, 14)).Style.Fill.BackgroundColor =
XLColor.FromArgb(172, 185, 202);
ws.Range(ws.Cell(row + 9, 13), ws.Cell(row + 9, 14)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 9, 15), ws.Cell(row + 9, 16)).Merge().Value = "ร้อยละ";
ws.Range(ws.Cell(row + 9, 15), ws.Cell(row + 9, 16)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 9, 15), ws.Cell(row + 9, 16)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 9, 15), ws.Cell(row + 9, 16)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 9, 15), ws.Cell(row + 9, 16)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 9, 15), ws.Cell(row + 9, 16)).Style.Fill.BackgroundColor =
XLColor.FromArgb(172, 185, 202);
ws.Range(ws.Cell(row + 9, 15), ws.Cell(row + 9, 16)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 10, 11), ws.Cell(row + 10, 12)).Merge().Value = "'(4)";
ws.Range(ws.Cell(row + 10, 11), ws.Cell(row + 10, 12)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 10, 11), ws.Cell(row + 10, 12)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 10, 11), ws.Cell(row + 10, 12)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 10, 11), ws.Cell(row + 10, 12)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 10, 11), ws.Cell(row + 10, 12)).Style.Fill.BackgroundColor =
XLColor.FromArgb(172, 185, 202);
ws.Range(ws.Cell(row + 10, 11), ws.Cell(row + 10, 12)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 10, 13), ws.Cell(row + 10, 14)).Merge().Value = "'(5)";
ws.Range(ws.Cell(row + 10, 13), ws.Cell(row + 10, 14)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 10, 13), ws.Cell(row + 10, 14)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 10, 13), ws.Cell(row + 10, 14)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 10, 13), ws.Cell(row + 10, 14)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 10, 13), ws.Cell(row + 10, 14)).Style.Fill.BackgroundColor =
XLColor.FromArgb(172, 185, 202);
ws.Range(ws.Cell(row + 10, 13), ws.Cell(row + 10, 14)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 10, 15), ws.Cell(row + 10, 16)).Merge().Value = "'(6) = (5)/(4)*100";
ws.Range(ws.Cell(row + 10, 15), ws.Cell(row + 10, 16)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 10, 15), ws.Cell(row + 10, 16)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 10, 15), ws.Cell(row + 10, 16)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 10, 15), ws.Cell(row + 10, 16)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 10, 15), ws.Cell(row + 10, 16)).Style.Fill.BackgroundColor =
XLColor.FromArgb(172, 185, 202);
ws.Range(ws.Cell(row + 10, 15), ws.Cell(row + 10, 16)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 8, 17), ws.Cell(row + 10, 18)).Merge().Value = "เปรียบเทียบสัดส่วนการตั้ง งปม. ปี 2566 (แผนบุคลากรภาครัฐ) กับ แผนการใช้จ่ายเงินประจำปี 2565";
ws.Range(ws.Cell(row + 8, 17), ws.Cell(row + 10, 18)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 8, 17), ws.Cell(row + 10, 18)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 8, 17), ws.Cell(row + 10, 18)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 8, 17), ws.Cell(row + 10, 18)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 8, 17), ws.Cell(row + 10, 18)).Style.Fill.BackgroundColor =
XLColor.FromArgb(214, 220, 228);
ws.Range(ws.Cell(row + 8, 17), ws.Cell(row + 10, 18)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 8, 19), ws.Cell(row + 10, 24)).Merge().Value = "คำชี้แจง(ถ้ามี)";
ws.Range(ws.Cell(row + 8, 19), ws.Cell(row + 10, 24)).Style.Alignment.Horizontal =
XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row + 8, 19), ws.Cell(row + 10, 24)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row + 8, 19), ws.Cell(row + 10, 24)).Style.Font.FontName = "TH SarabunPSK";
ws.Range(ws.Cell(row + 8, 19), ws.Cell(row + 10, 24)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row + 8, 19), ws.Cell(row + 10, 24)).Style.Fill.BackgroundColor =
XLColor.FromArgb(172, 185, 202);
ws.Range(ws.Cell(row + 8, 19), ws.Cell(row + 10, 24)).Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;
ws.Range(ws.Cell(row + 8, 1), ws.Cell(row + 10, 24)).Style.Alignment.WrapText = true;
}
}
}
using (var stream1 = new MemoryStream())

View File

@@ -0,0 +1,19 @@
using System.Collections.Generic;
namespace rmutr_report.Models
{
public class summary_strategic
{
public string budget_year { get; set; }
public List<summary_strategic_detail> data { get; set; }
}
public class summary_strategic_detail
{
public string list { get; set; }
public decimal? target_quantity { get; set; }
public decimal? kpi_quantity { get; set; }
public decimal? strategy_quantity { get; set; }
}
}

View File

@@ -1 +1 @@
1a7a83012231c33615af2a4ba74dfd42688b7e02
32437cb9474c992502a344fdffc9500682e05611

View File

@@ -82,8 +82,3 @@ C:\Users\USER\Documents\rmutr_report\bin\Debug\netcoreapp3.1\runtimes\win-x64\na
C:\Users\USER\Documents\rmutr_report\bin\Debug\netcoreapp3.1\runtimes\win-x86\native\sni.dll
C:\Users\USER\Documents\rmutr_report\bin\Debug\netcoreapp3.1\runtimes\unix\lib\netstandard2.0\System.Data.SqlClient.dll
C:\Users\USER\Documents\rmutr_report\bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\System.Data.SqlClient.dll
C:\Users\USER\Documents\rmutr_report\obj\Debug\netcoreapp3.1\staticwebassets\rmutr_report.StaticWebAssets.Pack.cache
C:\Users\USER\Documents\rmutr_report\obj\Debug\netcoreapp3.1\staticwebassets\msbuild.rmutr_report.Microsoft.AspNetCore.StaticWebAssets.props
C:\Users\USER\Documents\rmutr_report\obj\Debug\netcoreapp3.1\staticwebassets\msbuild.build.rmutr_report.props
C:\Users\USER\Documents\rmutr_report\obj\Debug\netcoreapp3.1\staticwebassets\msbuild.buildMultiTargeting.rmutr_report.props
C:\Users\USER\Documents\rmutr_report\obj\Debug\netcoreapp3.1\staticwebassets\msbuild.buildTransitive.rmutr_report.props

View File

@@ -1,3 +0,0 @@
<Project>
<Import Project="Microsoft.AspNetCore.StaticWebAssets.props" />
</Project>

View File

@@ -1,3 +0,0 @@
<Project>
<Import Project="..\build\rmutr_report.props" />
</Project>

View File

@@ -1,3 +0,0 @@
<Project>
<Import Project="..\buildMultiTargeting\rmutr_report.props" />
</Project>

View File

@@ -1 +0,0 @@
350cf56e773cc433c454f90293d9ad8a14ff9066

View File

@@ -2164,7 +2164,6 @@
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files\\dotnet\\sdk\\7.0.305\\Sdks\\Microsoft.NET.Sdk.Web\\library-packs": {},
"https://api.nuget.org/v3/index.json": {},
"https://nuget.71dev.com/v3/index.json": {}
},
@@ -2220,7 +2219,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.305\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.407\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "CpAxtaPU/VEQAbITx1At9JKHBfnAmr9Jtp14GvAfIKjNIVJPIOZXKkcykiUn1v7UTZJD+zMMBzxjpRtc7f+BpA==",
"dgSpecHash": "AcjdXi5x9A0nxsTWB+2PnbaIBtEgf/xXjiH70whPTOKfE3hLR7xlfQsZ/JREuaGE/sSzaWLOjWThFS4rkZ0mog==",
"success": true,
"projectFilePath": "C:\\Users\\USER\\Documents\\rmutr_report\\rmutr_report.csproj",
"expectedPackageFiles": [

View File

@@ -1 +1 @@
"restore":{"projectUniqueName":"C:\\Users\\USER\\Documents\\rmutr_report\\rmutr_report.csproj","projectName":"rmutr_report","projectPath":"C:\\Users\\USER\\Documents\\rmutr_report\\rmutr_report.csproj","outputPath":"C:\\Users\\USER\\Documents\\rmutr_report\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["netcoreapp3.1"],"sources":{"C:\\Program Files\\dotnet\\sdk\\7.0.305\\Sdks\\Microsoft.NET.Sdk.Web\\library-packs":{},"https://api.nuget.org/v3/index.json":{},"https://nuget.71dev.com/v3/index.json":{}},"frameworks":{"netcoreapp3.1":{"projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"netcoreapp3.1":{"dependencies":{"ClosedXML":{"target":"Package","version":"[0.96.0, )"},"FastReport.Core":{"target":"Package","version":"[2021.3.0, )"},"Swashbuckle.AspNetCore":{"target":"Package","version":"[6.5.0, )"},"Swashbuckle.AspNetCore.Annotations":{"target":"Package","version":"[6.5.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.AspNetCore.App":{"privateAssets":"none"},"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\7.0.305\\RuntimeIdentifierGraph.json"}}
"restore":{"projectUniqueName":"C:\\Users\\USER\\Documents\\rmutr_report\\rmutr_report.csproj","projectName":"rmutr_report","projectPath":"C:\\Users\\USER\\Documents\\rmutr_report\\rmutr_report.csproj","outputPath":"C:\\Users\\USER\\Documents\\rmutr_report\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["netcoreapp3.1"],"sources":{"https://api.nuget.org/v3/index.json":{},"https://nuget.71dev.com/v3/index.json":{}},"frameworks":{"netcoreapp3.1":{"projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"netcoreapp3.1":{"dependencies":{"ClosedXML":{"target":"Package","version":"[0.96.0, )"},"FastReport.Core":{"target":"Package","version":"[2021.3.0, )"},"Swashbuckle.AspNetCore":{"target":"Package","version":"[6.5.0, )"},"Swashbuckle.AspNetCore.Annotations":{"target":"Package","version":"[6.5.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.AspNetCore.App":{"privateAssets":"none"},"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\6.0.407\\RuntimeIdentifierGraph.json"}}

View File

@@ -1 +1 @@
16884439300231938
16886414723877886

View File

@@ -22,7 +22,6 @@
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files\\dotnet\\sdk\\7.0.305\\Sdks\\Microsoft.NET.Sdk.Web\\library-packs": {},
"https://api.nuget.org/v3/index.json": {},
"https://nuget.71dev.com/v3/index.json": {}
},
@@ -78,7 +77,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.305\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.407\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="09/14/2021 15:20:39" ReportInfo.Modified="07/06/2023 18:22:33" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="summary_strategic" ReferenceName="summary_strategic" DataType="null" Enabled="true">
<Column Name="budget_year" DataType="System.String"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/>
<Column Name="target_quantity" DataType="System.Decimal"/>
<Column Name="kpi_quantity" DataType="System.Decimal"/>
<Column Name="strategy_quantity" DataType="System.Decimal"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader1" Width="1047.06" Height="85.05">
<TextObject Name="Text40" Width="1048.95" Height="37.8" Text="ตารางสรุปประเด็นยุทธศาสตร์ เป้าหมายหลัก ตัวชี้วัดและกลยุทธ์ประจำปี พ.ศ. [summary_strategic.budget_year]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableObject Name="Table14" Top="37.8" Width="1048.95" Height="47.25" Border.Lines="All">
<TableColumn Name="Column70" Width="453.6"/>
<TableColumn Name="Column71" Width="217.35"/>
<TableColumn Name="Column72" Width="189"/>
<TableColumn Name="Column73" Width="189"/>
<TableRow Name="Row14" Height="47.25">
<TableCell Name="Cell110" Fill.Color="255, 192, 255" Text="ประเด็นยุทธศาสตร์" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell111" Border.Lines="All" Fill.Color="255, 192, 255" Text="จำนวนเป้าหมายหลัก" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell112" Border.Lines="All" Fill.Color="255, 192, 255" Text="จำนวนตัวชี้วัด" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell113" Border.Lines="All" Fill.Color="255, 192, 255" Text="จำนวนกลยุทธ์" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="90.68" Width="1047.06">
<DataBand Name="Data2" Top="96.32" Width="1047.06" Height="47.25" DataSource="data">
<TableObject Name="Table15" Width="1048.95" Height="47.25" Border.Lines="All">
<TableColumn Name="Column79" Width="453.6"/>
<TableColumn Name="Column80" Width="217.35"/>
<TableColumn Name="Column81" Width="189"/>
<TableColumn Name="Column82" Width="189"/>
<TableRow Name="Row15" Height="47.25">
<TableCell Name="Cell139" Text="[Row#]. [summary_strategic.data.list]" AutoShrink="FontSize" AutoShrinkMinSize="11" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
<TableCell Name="Cell140" Border.Lines="All" Text="[summary_strategic.data.target_quantity]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
<TableCell Name="Cell141" Border.Lines="All" Text="[summary_strategic.data.kpi_quantity]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
<TableCell Name="Cell142" Border.Lines="All" Text="[summary_strategic.data.strategy_quantity]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
</ReportPage>
</Report>