Fix color
This commit is contained in:
@@ -699,7 +699,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell(row, 5).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Right;
|
||||
ws.Cell(row, 6).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Right;
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 6)).Style.Fill.BackgroundColor =
|
||||
XLColor.FromArgb(255, 204, 204);
|
||||
XLColor.FromArgb(255, 255, 204);
|
||||
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
ws.Cell(row, 2).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
ws.Cell(row, 3).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
@@ -4938,7 +4938,7 @@ namespace rmutr_report.Controllers
|
||||
"TH SarabunPSK";
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 2)).Style.Font.FontSize = 10;
|
||||
ws.Range(ws.Cell(row, 1), ws.Cell(row, 2)).Style.Fill.BackgroundColor =
|
||||
XLColor.FromArgb(255, 204, 204);
|
||||
XLColor.FromArgb(255, 255, 204);
|
||||
ws.Cell(row, 1).Style.Alignment.WrapText = true;
|
||||
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
col2 = 2;
|
||||
@@ -4948,7 +4948,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell(row, col2).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
ws.Cell(row, col2).Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Cell(row, col2).Style.Font.SetBold().Font.FontSize = 10;
|
||||
ws.Cell(row, col2).Style.Fill.BackgroundColor = XLColor.FromArgb(255, 204, 204);
|
||||
ws.Cell(row, col2).Style.Fill.BackgroundColor = XLColor.FromArgb(255, 255, 204);
|
||||
ws.Cell(row, col2).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||
ws.Cell(row, col2).Style.NumberFormat.SetFormat("#,#0");
|
||||
ws.Cell(row, col2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
|
||||
Reference in New Issue
Block a user