add report
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user