diff --git a/Controllers/Personnel.Controller.cs b/Controllers/Personnel.Controller.cs index 4f6f806..e034b33 100644 --- a/Controllers/Personnel.Controller.cs +++ b/Controllers/Personnel.Controller.cs @@ -4704,6 +4704,12 @@ namespace rmutr_report.Controllers ws.Range(ws.Cell(row, 1), ws.Cell(row, 17)).Style.Alignment.WrapText = true; ws.Range(ws.Cell(row, 1), ws.Cell(row, 17)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center; + ws.Cell(row, 6).Style.NumberFormat.Format = "#,##0.0000"; + ws.Cell(row, 8).Style.NumberFormat.Format = "#,##0.0000"; + ws.Cell(row, 10).Style.NumberFormat.Format = "#,##0.0000"; + ws.Cell(row, 12).Style.NumberFormat.Format = "#,##0.0000"; + ws.Cell(row, 14).Style.NumberFormat.Format = "#,##0.0000"; + ws.Cell(row, 16).Style.NumberFormat.Format = "#,##0.0000"; ws.Cell(row, 1).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left; ws.Cell(row, 2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Right; ws.Cell(row, 3).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Right; @@ -4765,7 +4771,12 @@ namespace rmutr_report.Controllers ws.Range(ws.Cell(row, 1), ws.Cell(row, 17)).Style.Font.FontName = "TH SarabunPSK"; ws.Cell(row, 1).Style.Font.FontSize = 16; - + ws.Cell(row, 6).Style.NumberFormat.Format = "#,##0.0000"; + ws.Cell(row, 8).Style.NumberFormat.Format = "#,##0.0000"; + ws.Cell(row, 10).Style.NumberFormat.Format = "#,##0.0000"; + ws.Cell(row, 12).Style.NumberFormat.Format = "#,##0.0000"; + ws.Cell(row, 14).Style.NumberFormat.Format = "#,##0.0000"; + ws.Cell(row, 16).Style.NumberFormat.Format = "#,##0.0000"; ws.Range(ws.Cell(row, 5), ws.Cell(row, 17)).Style.Font.SetBold().Font.FontSize = 16; ws.Range(ws.Cell(row, 1), ws.Cell(row, 17)).Style.Alignment.WrapText = true; ws.Range(ws.Cell(row, 1), ws.Cell(row, 17)).Style.Alignment.Vertical = diff --git a/bin/Debug/netcoreapp3.1/rmutr_report.dll b/bin/Debug/netcoreapp3.1/rmutr_report.dll index 0a89a45..8635871 100644 Binary files a/bin/Debug/netcoreapp3.1/rmutr_report.dll and b/bin/Debug/netcoreapp3.1/rmutr_report.dll differ diff --git a/bin/Debug/netcoreapp3.1/rmutr_report.pdb b/bin/Debug/netcoreapp3.1/rmutr_report.pdb index 7bc2006..3720f17 100644 Binary files a/bin/Debug/netcoreapp3.1/rmutr_report.pdb and b/bin/Debug/netcoreapp3.1/rmutr_report.pdb differ diff --git a/obj/Debug/netcoreapp3.1/rmutr_report.dll b/obj/Debug/netcoreapp3.1/rmutr_report.dll index 0a89a45..8635871 100644 Binary files a/obj/Debug/netcoreapp3.1/rmutr_report.dll and b/obj/Debug/netcoreapp3.1/rmutr_report.dll differ diff --git a/obj/Debug/netcoreapp3.1/rmutr_report.pdb b/obj/Debug/netcoreapp3.1/rmutr_report.pdb index 7bc2006..3720f17 100644 Binary files a/obj/Debug/netcoreapp3.1/rmutr_report.pdb and b/obj/Debug/netcoreapp3.1/rmutr_report.pdb differ