This commit is contained in:
@@ -29,42 +29,42 @@ namespace rmutr_report.Controllers
|
||||
ws.Range("A1:M1").Style.Alignment.WrapText = true;
|
||||
ws.Range("A1:M1").Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
ws.Range("A1:M1").Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||
ws.Cell("A1").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("A1").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("A1").Style.Font.FontSize = 25;
|
||||
ws.Range("A1:N1").Style.Font.Bold = true;
|
||||
ws.Cell("N1").Value = "แบบ ง.6";
|
||||
ws.Cell("N1").Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
ws.Cell("N1").Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||
ws.Cell("N1").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("N1").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("N1").Style.Font.FontSize = 14;
|
||||
ws.Cell("N1").Style.Font.Bold = true;
|
||||
ws.Range("A2:D2").Merge().Value = "หน่วยงาน "+ _calculation_excess_tuition_fee.agency;
|
||||
ws.Cell("A2").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("A2").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("A2").Style.Font.FontSize = 14;
|
||||
ws.Cell("A2").Style.Font.Bold = true;
|
||||
ws.Cell("A2").Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
ws.Cell("A2").Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||
ws.Range("E2:G2").Merge().Value = "พื้นที่ "+ _calculation_excess_tuition_fee.area;
|
||||
ws.Cell("E2").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("E2").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("E2").Style.Font.FontSize = 14;
|
||||
ws.Cell("E2").Style.Font.Bold = true;
|
||||
ws.Cell("E2").Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
ws.Cell("E2").Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||
ws.Range("A3:G3").Merge().Value = "ผลผลิต "+ _calculation_excess_tuition_fee.product;
|
||||
ws.Cell("A3").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("A3").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("A3").Style.Font.FontSize = 14;
|
||||
ws.Cell("A3").Style.Font.Bold = true;
|
||||
ws.Cell("A3").Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
ws.Cell("A3").Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||
ws.Range("A5:A6").Merge().Value = "ลำดับที่";
|
||||
ws.Cell("A5").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("A5").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("A5").Style.Font.FontSize = 14;
|
||||
ws.Cell("A5").Style.Font.Bold = true;
|
||||
ws.Cell("A5").Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
ws.Cell("A5").Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||
ws.Range("A5:A6").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
ws.Range("B5:C6").Merge().Value = "ชื่อ - สกุล (1)";
|
||||
ws.Cell("B5").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("B5").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("B5").Style.Font.FontSize = 14;
|
||||
ws.Cell("B5").Style.Font.Bold = true;
|
||||
ws.Cell("B5").Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
@@ -72,7 +72,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Range("B5:C6").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Range("D5:D6").Merge().Value = "ตำแหน่ง (2)";
|
||||
ws.Cell("D5").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("D5").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("D5").Style.Font.FontSize = 14;
|
||||
ws.Cell("D5").Style.Font.Bold = true;
|
||||
ws.Cell("D5").Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
@@ -80,7 +80,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Range("D5:D6").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Range("E5:E6").Merge().Value = "ประเภทบุคลากร (3)";
|
||||
ws.Cell("E5").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("E5").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("E5").Style.Font.FontSize = 14;
|
||||
ws.Cell("E5").Style.Font.Bold = true;
|
||||
ws.Cell("E5").Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
@@ -89,7 +89,7 @@ namespace rmutr_report.Controllers
|
||||
|
||||
ws.Range("F5:H5").Merge().Value = "จำนวนชั่วโมงที่สอน / 1 ภาคการศึกษา "+_calculation_excess_tuition_fee.academic_semester_name_th1+
|
||||
" / "+" "+_calculation_excess_tuition_fee.academic_year_name_th1+")";
|
||||
ws.Cell("F5").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("F5").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("F5").Style.Font.FontSize = 14;
|
||||
ws.Cell("F5").Style.Font.Bold = true;
|
||||
ws.Cell("F5").Style.Alignment.WrapText = true;
|
||||
@@ -98,7 +98,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Range("F5:H5").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Cell("F6").Value = "จำนวนชั่วโมงที่สอนตามภาระงานแต่ละประเภท (ตามเกณฑ์) (4)";
|
||||
ws.Cell("F6").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("F6").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("F6").Style.Font.FontSize = 14;
|
||||
ws.Cell("F6").Style.Font.Bold = true;
|
||||
ws.Cell("F6").Style.Alignment.WrapText = true;
|
||||
@@ -107,7 +107,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell("F6").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Cell("G6").Value = "จำนวนชั่วโมงที่สอนจริงตามภาระงานแต่ละประเภท (5)";
|
||||
ws.Cell("G6").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("G6").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("G6").Style.Font.FontSize = 14;
|
||||
ws.Cell("G6").Style.Font.Bold = true;
|
||||
ws.Cell("G6").Style.Alignment.WrapText = true;
|
||||
@@ -116,7 +116,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell("G6").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Cell("H6").Value = "ผลต่าง ระหว่าง (5) - (4) = (6)";
|
||||
ws.Cell("H6").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("H6").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("H6").Style.Font.FontSize = 14;
|
||||
ws.Cell("H6").Style.Font.Bold = true;
|
||||
ws.Cell("H6").Style.Alignment.WrapText = true;
|
||||
@@ -125,7 +125,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell("H6").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Range("I5:I6").Merge().Value = "อัตราค่าสอน(400) x ( 6 ) = (7)";
|
||||
ws.Cell("I5").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("I5").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("I5").Style.Font.FontSize = 14;
|
||||
ws.Cell("I5").Style.Font.Bold = true;
|
||||
ws.Cell("I5").Style.Alignment.WrapText = true;
|
||||
@@ -135,7 +135,7 @@ namespace rmutr_report.Controllers
|
||||
|
||||
ws.Range("J5:L5").Merge().Value = "จำนวนชั่วโมงที่สอน / 1 ภาคการศึกษา "+_calculation_excess_tuition_fee.academic_semester_name_th2+
|
||||
" / "+" "+_calculation_excess_tuition_fee.academic_year_name_th2+")";
|
||||
ws.Cell("J5").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("J5").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("J5").Style.Font.FontSize = 14;
|
||||
ws.Cell("J5").Style.Font.Bold = true;
|
||||
ws.Cell("J5").Style.Alignment.WrapText = true;
|
||||
@@ -144,7 +144,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Range("J5:L5").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Cell("J6").Value = "จำนวนชั่วโมงที่สอนตามภาระงานแต่ละประเภท (ตามเกณฑ์) (8)";
|
||||
ws.Cell("J6").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("J6").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("J6").Style.Font.FontSize = 14;
|
||||
ws.Cell("J6").Style.Font.Bold = true;
|
||||
ws.Cell("J6").Style.Alignment.WrapText = true;
|
||||
@@ -153,7 +153,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell("J6").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Cell("K6").Value = "จำนวนชั่วโมงที่สอนจริงตามภาระงานแต่ละประเภท (9)";
|
||||
ws.Cell("K6").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("K6").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("K6").Style.Font.FontSize = 14;
|
||||
ws.Cell("K6").Style.Font.Bold = true;
|
||||
ws.Cell("K6").Style.Alignment.WrapText = true;
|
||||
@@ -162,7 +162,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell("K6").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Cell("L6").Value = "ผลต่าง ระหว่าง (9) - (8) = (10)";
|
||||
ws.Cell("L6").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("L6").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("L6").Style.Font.FontSize = 14;
|
||||
ws.Cell("L6").Style.Font.Bold = true;
|
||||
ws.Cell("L6").Style.Alignment.WrapText = true;
|
||||
@@ -171,7 +171,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell("L6").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Range("M5:M6").Merge().Value = "อัตราค่าสอน(400) x (10) = (11)";
|
||||
ws.Cell("M5").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("M5").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("M5").Style.Font.FontSize = 14;
|
||||
ws.Cell("M5").Style.Font.Bold = true;
|
||||
ws.Cell("M5").Style.Alignment.WrapText = true;
|
||||
@@ -180,7 +180,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Range("M5:M6").Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Range("N5:N6").Merge().Value = "รวมงบประมาณ (7) + (11) = (12)";
|
||||
ws.Cell("N5").Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Cell("N5").Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell("N5").Style.Font.FontSize = 14;
|
||||
ws.Cell("N5").Style.Font.Bold = true;
|
||||
ws.Cell("N5").Style.Alignment.WrapText = true;
|
||||
@@ -266,7 +266,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell(row, 14).Value = expenses.teach_rate_1 + expenses.teach_rate_2;
|
||||
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 14)).Style.Font.FontName =
|
||||
"TH Sarabun New";
|
||||
"TH SarabunPSK";
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 14)).Style.Font.FontSize = 14;
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 14)).Style.Alignment.WrapText = true;
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 14)).Style.Alignment.Vertical =
|
||||
@@ -306,7 +306,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell(row, 14).Value = sum13;
|
||||
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 14)).Style.Font.FontName =
|
||||
"TH Sarabun New";
|
||||
"TH SarabunPSK";
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 14)).Style.Font.FontSize = 14;
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 14)).Style.Alignment.WrapText = true;
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 14)).Style.Alignment.Vertical =
|
||||
|
||||
Reference in New Issue
Block a user