diff --git a/Controllers/kpi_performance_finance.Controller.cs b/Controllers/kpi_performance_finance.Controller.cs index e81468f..8a320fc 100644 --- a/Controllers/kpi_performance_finance.Controller.cs +++ b/Controllers/kpi_performance_finance.Controller.cs @@ -148,7 +148,7 @@ namespace rmutr_report.Controllers ws.Cell(row, 7).Style.NumberFormat.Format = "#,##0.00"; ws.Cell(row, 8).Value = data1.result; ws.Cell(row, 8).Style.NumberFormat.Format = "#,##0.00"; - ws.Cell(row, 9).Value = data1.achieve == "X" ? "✗" : data1.achieve; + ws.Cell(row, 9).Value = data1.achieve == "X" ? "❌" : "✅"; ws.Cell(row, 10).Value = data1.note; ws.Range(ws.Cell(row, 1),ws.Cell(row,10)).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center; ws.Range(ws.Cell(row, 1),ws.Cell(row,10)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center; @@ -169,9 +169,7 @@ namespace rmutr_report.Controllers ws.Range(ws.Cell(row, 1),ws.Cell(row,10)).Style.Font.FontName = "TH SarabunPSK"; ws.Range(ws.Cell(row, 1),ws.Cell(row,10)).Style.Font.FontSize = 16; - ws.Cell(row, 9).Style.Font.Bold = true; - ws.Cell(row, 9).Style.Font.FontSize = 20; - ws.Cell(row, 9).Style.Font.FontColor = data1.achieve == "√" ? XLColor.FromHtml("#2E7D32") : XLColor.FromHtml("#C62828"); + ws.Cell(row, 9).Style.Font.FontSize = 18; row++; rowno++; }