This commit is contained in:
@@ -3853,7 +3853,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(rowvalue, col).Style.Font.FontSize = 14;
|
ws.Cell(rowvalue, col).Style.Font.FontSize = 14;
|
||||||
ws.Cell(rowvalue, col).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(rowvalue, col).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
ws.Cell(rowvalue, col).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Cell(rowvalue, col).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Cell(rowvalue, col).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(rowvalue, col).Style.NumberFormat.SetFormat("#,#0");
|
||||||
ws.Cell(row, col).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, col).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
|
|
||||||
col++;
|
col++;
|
||||||
@@ -3884,7 +3884,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
||||||
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 14;
|
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 14;
|
||||||
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#0");
|
||||||
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
|
|
||||||
col2++;
|
col2++;
|
||||||
@@ -3913,7 +3913,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
||||||
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 14;
|
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 14;
|
||||||
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#0");
|
||||||
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
|
|
||||||
col2++;
|
col2++;
|
||||||
@@ -3941,7 +3941,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
||||||
ws.Cell(row, col2).Style.Font.FontSize = 14;
|
ws.Cell(row, col2).Style.Font.FontSize = 14;
|
||||||
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#0");
|
||||||
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
|
|
||||||
col2++;
|
col2++;
|
||||||
@@ -3970,7 +3970,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
||||||
ws.Cell(row, col2).Style.Font.FontSize = 14;
|
ws.Cell(row, col2).Style.Font.FontSize = 14;
|
||||||
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#0");
|
||||||
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
|
|
||||||
col2++;
|
col2++;
|
||||||
@@ -3990,7 +3990,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,2)).Style.Font.FontName = "TH SarabunPSK";
|
ws.Range(ws.Cell(row, 1),ws.Cell(row,2)).Style.Font.FontName = "TH SarabunPSK";
|
||||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,2)).Style.Font.FontSize = 14;
|
ws.Range(ws.Cell(row, 1),ws.Cell(row,2)).Style.Font.FontSize = 14;
|
||||||
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||||
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#0");
|
||||||
|
|
||||||
col2 = 2;
|
col2 = 2;
|
||||||
foreach (var budgetPlan in detail2.plans)
|
foreach (var budgetPlan in detail2.plans)
|
||||||
@@ -4030,7 +4030,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 14;
|
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 14;
|
||||||
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#0");
|
||||||
|
|
||||||
col2++;
|
col2++;
|
||||||
}
|
}
|
||||||
@@ -4239,7 +4239,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(rowvalue, col).Style.Font.FontSize = 14;
|
ws.Cell(rowvalue, col).Style.Font.FontSize = 14;
|
||||||
ws.Cell(rowvalue, col).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(rowvalue, col).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
ws.Cell(rowvalue, col).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Cell(rowvalue, col).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Cell(rowvalue, col).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(rowvalue, col).Style.NumberFormat.SetFormat("#,#0");
|
||||||
ws.Cell(rowvalue, col).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(rowvalue, col).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
|
|
||||||
col++;
|
col++;
|
||||||
@@ -4270,7 +4270,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
||||||
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 14;
|
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 14;
|
||||||
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#0");
|
||||||
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
col2++;
|
col2++;
|
||||||
}
|
}
|
||||||
@@ -4294,7 +4294,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
||||||
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 14;
|
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 14;
|
||||||
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#0");
|
||||||
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
|
|
||||||
col2++;
|
col2++;
|
||||||
@@ -4323,7 +4323,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
||||||
ws.Cell(row, col2).Style.Font.FontSize = 14;
|
ws.Cell(row, col2).Style.Font.FontSize = 14;
|
||||||
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#");
|
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#0");
|
||||||
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
|
|
||||||
col2++;
|
col2++;
|
||||||
|
|||||||
Reference in New Issue
Block a user