diff --git a/Controllers/Personnel.Controller.cs b/Controllers/Personnel.Controller.cs index 85c44fd..6fb949b 100644 --- a/Controllers/Personnel.Controller.cs +++ b/Controllers/Personnel.Controller.cs @@ -27,7 +27,8 @@ namespace rmutr_report.Controllers { this._setting = setting; } - [SwaggerOperation("ข้อมูลจำนวนบุคลากร")] + + [SwaggerOperation("ข้อมูลจำนวนบุคลากร")] [HttpPost, Route("reports/personnel_summary/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetHrReport([FromRoute] string type, [FromBody] personnel_summary personnel_summarys) @@ -84,7 +85,8 @@ namespace rmutr_report.Controllers return Ok(); } - [SwaggerOperation("จำนวนบุคลากร สายวิชาการ และ สายสนับสนุน")] + + [SwaggerOperation("จำนวนบุคลากร สายวิชาการ และ สายสนับสนุน")] [HttpPost, Route("reports/man_power/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetManReport([FromRoute] string type, [FromBody] List man_powers) @@ -128,7 +130,8 @@ namespace rmutr_report.Controllers return Ok(); } - [SwaggerOperation("จำนวนบุคลากร สายสนับสนุน")] + + [SwaggerOperation("จำนวนบุคลากร สายสนับสนุน")] [HttpPost, Route("reports/data_line_support/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetDataLineReport([FromRoute] string type, [FromBody] data_line_support data_line_supports) @@ -172,7 +175,8 @@ namespace rmutr_report.Controllers return Ok(); } - [SwaggerOperation("จำนวนบุคลากร สายวิชาการ จำแนกตามอัตรา มีคนครอง และอัตราว่าง")] + + [SwaggerOperation("จำนวนบุคลากร สายวิชาการ จำแนกตามอัตรา มีคนครอง และอัตราว่าง")] [HttpPost, Route("reports/data_line_academic/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetDataLineAcaReport([FromRoute] string type, @@ -217,7 +221,8 @@ namespace rmutr_report.Controllers return Ok(); } - [SwaggerOperation("จำนวนบุคลากร สายวิชาการ จำแนกตามอัตรา มีคนครอง และอัตราว่าง")] + + [SwaggerOperation("จำนวนบุคลากร สายวิชาการ จำแนกตามอัตรา มีคนครอง และอัตราว่าง")] [HttpPost, Route("reports/qualifications_teacher/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetQualificationsTeacherReport([FromRoute] string type, @@ -262,7 +267,8 @@ namespace rmutr_report.Controllers return Ok(); } -[SwaggerOperation("จำนวนบุคลากร สายวิชาการ ตามตำแหน่งทางวิชาการ")] + + [SwaggerOperation("จำนวนบุคลากร สายวิชาการ ตามตำแหน่งทางวิชาการ")] [HttpPost, Route("reports/academic_position/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetAcademicPositionReport([FromRoute] string type, @@ -307,7 +313,8 @@ namespace rmutr_report.Controllers return Ok(); } - [SwaggerOperation("หนังสือแจ้งผลการเลื่อนค่าตอบแทนพนักงานราชการ")] + + [SwaggerOperation("หนังสือแจ้งผลการเลื่อนค่าตอบแทนพนักงานราชการ")] [HttpPost, Route("reports/postponement_compensation/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetPostponementCompensationReport([FromRoute] string type, @@ -494,7 +501,8 @@ namespace rmutr_report.Controllers return Ok(); } - [SwaggerOperation("พนักงานราชการ")] + + [SwaggerOperation("พนักงานราชการ")] [HttpPost, Route("reports/personnel_salary_government_employee/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetPersonSalaryReport([FromRoute] string type, @@ -1012,7 +1020,7 @@ namespace rmutr_report.Controllers } } - [SwaggerOperation("ข้าราชการ")] + [SwaggerOperation("ข้าราชการ")] [HttpPost, Route("reports/personnel_salary_government/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetPersonSalaryGovernmentReport([FromRoute] string type, @@ -2105,7 +2113,7 @@ namespace rmutr_report.Controllers } } - [SwaggerOperation("ลูกจ้างประจํา")] + [SwaggerOperation("ลูกจ้างประจํา")] [HttpPost, Route("reports/personnel_salary_permanent/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetPersonSalaryReport([FromRoute] string type, @@ -2796,7 +2804,8 @@ namespace rmutr_report.Controllers "personnel_permanent_" + date + ".xlsx"); } } -[SwaggerOperation("ลูกจ้างชั่วคราว")] + + [SwaggerOperation("ลูกจ้างชั่วคราว")] [HttpPost, Route("reports/personnel_salary_temporary/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetTemporaryReport([FromRoute] string type, @@ -3236,7 +3245,8 @@ namespace rmutr_report.Controllers "personnel_temporary_" + date + ".xlsx"); } } - [SwaggerOperation("พนักงานมหาวิทยาลัย")] + + [SwaggerOperation("พนักงานมหาวิทยาลัย")] [HttpPost, Route("reports/personnel_salary_university/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetPersonSalaryUniversityReport([FromRoute] string type, @@ -4130,7 +4140,7 @@ namespace rmutr_report.Controllers } } - [SwaggerOperation("ค่าตอบแทนพนักงานราชการ")] + [SwaggerOperation("ค่าตอบแทนพนักงานราชการ")] [HttpPost, Route("reports/set_personnel_budget/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetSetPersonBudgetReport([FromRoute] string type, @@ -4808,7 +4818,8 @@ namespace rmutr_report.Controllers "personnel_" + date + ".xlsx"); } } - [SwaggerOperation("การตั้งงบประมาณค่าใช้จ่ายบุคลากร")] + + [SwaggerOperation("การตั้งงบประมาณค่าใช้จ่ายบุคลากร")] [HttpPost, Route("reports/personnel_expense_budget/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetSetPersonExBudgetReport([FromRoute] string type, @@ -6214,7 +6225,8 @@ namespace rmutr_report.Controllers "personnel_expense_budget" + date + ".xlsx"); } } - [SwaggerOperation("บุคลากร งบประมาณแผ่นดิน")] + + [SwaggerOperation("บุคลากร งบประมาณแผ่นดิน")] [HttpPost, Route("reports/national_budget/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetNationalBudgetReport([FromRoute] string type, @@ -6479,7 +6491,8 @@ namespace rmutr_report.Controllers "national_budget_" + date + ".xlsx"); } } - [SwaggerOperation("งบประมาณ MTEF")] + + [SwaggerOperation("งบประมาณ MTEF")] [HttpPost, Route("reports/mtef_personnel/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetMtefReport([FromRoute] string type, @@ -6862,7 +6875,8 @@ namespace rmutr_report.Controllers "mtef_personnel_" + date + ".xlsx"); } } - [SwaggerOperation("ข้อมูลการตั้งงบประมาณค่าใช้จ่ายบุคลากร")] + + [SwaggerOperation("ข้อมูลการตั้งงบประมาณค่าใช้จ่ายบุคลากร")] [HttpPost, Route("reports/set_personnel_budget_university/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetSetPersonUniBudgetReport([FromRoute] string type, @@ -8817,7 +8831,8 @@ namespace rmutr_report.Controllers "set_personnel_budget_university_" + date + ".xlsx"); } } - [SwaggerOperation("การตั้งงบประมาณค่าใช้จ่ายบุคลากร ของลูกจ้างประจำ")] + + [SwaggerOperation("การตั้งงบประมาณค่าใช้จ่ายบุคลากร ของลูกจ้างประจำ")] [HttpPost, Route("reports/set_personnel_budget_permanent/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetSetPersonPermanentReport([FromRoute] string type, @@ -9482,7 +9497,8 @@ namespace rmutr_report.Controllers "set_personnel_budget_permanent_" + date + ".xlsx"); } } - [SwaggerOperation("รายละเอียดข้อเสนอวงเงิน, สรุปข้อเสนอวงเงิน")] + + [SwaggerOperation("รายละเอียดข้อเสนอวงเงิน, สรุปข้อเสนอวงเงิน")] [HttpPost, Route("reports/budget_expenditure_proposal/{type}")] [ApiExplorerSettings(GroupName = "reports")] public IActionResult GetPersonDetailReport([FromRoute] string type, @@ -9772,7 +9788,7 @@ namespace rmutr_report.Controllers ws.Range("B7:Z11").Style.Alignment.WrapText = true; foreach (var detail in personnel.budget_expenditure_proposal_details) { - if (detail.topic_type == 1&&detail.topic == "รวมทั้งสิ้น" ) + if (detail.topic_type == 1 && detail.topic == "รวมทั้งสิ้น") { ws.Cell(row, 1).Value = "รวมทั้งสิ้น"; ws.Cell(row, 2).Value = detail.act_year1_1; @@ -9821,6 +9837,19 @@ namespace rmutr_report.Controllers XLBorderStyleValues.Thin; ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Fill.BackgroundColor = XLColor.FromArgb(255, 242, 204); + ws.Cell(row, 3).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 5).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 7).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 9).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 11).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 13).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 15).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 17).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 19).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 22).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 24).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 25).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 26).Style.NumberFormat.SetFormat("#,#0.0000"); row++; } @@ -9874,6 +9903,19 @@ namespace rmutr_report.Controllers XLBorderStyleValues.Thin; ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Fill.BackgroundColor = XLColor.FromArgb(255, 242, 204); + ws.Cell(row, 3).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 5).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 7).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 9).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 11).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 13).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 15).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 17).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 19).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 22).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 24).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 25).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 26).Style.NumberFormat.SetFormat("#,#0.0000"); row++; } @@ -9927,7 +9969,19 @@ namespace rmutr_report.Controllers XLBorderStyleValues.Thin; ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Fill.BackgroundColor = XLColor.FromArgb(198, 224, 180); - + ws.Cell(row, 3).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 5).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 7).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 9).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 11).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 13).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 15).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 17).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 19).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 22).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 24).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 25).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 26).Style.NumberFormat.SetFormat("#,#0.0000"); row++; } @@ -9980,7 +10034,19 @@ namespace rmutr_report.Controllers XLBorderStyleValues.Thin; ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Fill.BackgroundColor = XLColor.FromArgb(217, 225, 242); - + ws.Cell(row, 3).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 5).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 7).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 9).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 11).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 13).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 15).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 17).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 19).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 22).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 24).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 25).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 26).Style.NumberFormat.SetFormat("#,#0.0000"); row++; } @@ -10033,7 +10099,19 @@ namespace rmutr_report.Controllers XLBorderStyleValues.Thin; ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Fill.BackgroundColor = XLColor.FromArgb(252, 228, 214); - + ws.Cell(row, 3).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 5).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 7).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 9).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 11).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 13).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 15).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 17).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 19).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 22).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 24).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 25).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 26).Style.NumberFormat.SetFormat("#,#0.0000"); row++; } @@ -10086,7 +10164,19 @@ namespace rmutr_report.Controllers XLBorderStyleValues.Thin; ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Fill.BackgroundColor = XLColor.FromArgb(226, 239, 218); - + ws.Cell(row, 3).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 5).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 7).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 9).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 11).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 13).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 15).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 17).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 19).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 22).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 24).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 25).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 26).Style.NumberFormat.SetFormat("#,#0.0000"); row++; } @@ -10138,7 +10228,19 @@ namespace rmutr_report.Controllers ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Border.LeftBorder = XLBorderStyleValues.Thin; //ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Fill.BackgroundColor = XLColor.FromArgb(252, 228, 214); - + ws.Cell(row, 3).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 5).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 7).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 9).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 11).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 13).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 15).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 17).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 19).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 22).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 24).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 25).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 26).Style.NumberFormat.SetFormat("#,#0.0000"); row++; } @@ -10190,7 +10292,19 @@ namespace rmutr_report.Controllers ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Border.LeftBorder = XLBorderStyleValues.Thin; //ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Fill.BackgroundColor = XLColor.FromArgb(226, 239, 218); - + ws.Cell(row, 3).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 5).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 7).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 9).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 11).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 13).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 15).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 17).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 19).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 22).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 24).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 25).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 26).Style.NumberFormat.SetFormat("#,#0.0000"); row++; } @@ -10242,7 +10356,19 @@ namespace rmutr_report.Controllers ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Border.LeftBorder = XLBorderStyleValues.Thin; //ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Fill.BackgroundColor = XLColor.FromArgb(226, 239, 218); - + ws.Cell(row, 3).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 5).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 7).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 9).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 11).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 13).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 15).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 17).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 19).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 22).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 24).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 25).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 26).Style.NumberFormat.SetFormat("#,#0.0000"); row++; } @@ -10294,7 +10420,19 @@ namespace rmutr_report.Controllers ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Border.LeftBorder = XLBorderStyleValues.Thin; //ws.Range(ws.Cell(row, 1), ws.Cell(row, 27)).Style.Fill.BackgroundColor = XLColor.FromArgb(226, 239, 218); - + ws.Cell(row, 3).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 5).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 7).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 9).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 11).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 13).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 15).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 17).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 19).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 22).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 24).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 25).Style.NumberFormat.SetFormat("#,#0.0000"); + ws.Cell(row, 26).Style.NumberFormat.SetFormat("#,#0.0000"); row++; } } diff --git a/bin/Debug/net5.0/rmutr_report.dll b/bin/Debug/net5.0/rmutr_report.dll index ca62892..008debb 100644 Binary files a/bin/Debug/net5.0/rmutr_report.dll and b/bin/Debug/net5.0/rmutr_report.dll differ diff --git a/bin/Debug/net5.0/rmutr_report.pdb b/bin/Debug/net5.0/rmutr_report.pdb index 0f903ac..3ea637b 100644 Binary files a/bin/Debug/net5.0/rmutr_report.pdb and b/bin/Debug/net5.0/rmutr_report.pdb differ diff --git a/obj/Debug/net5.0/rmutr_report.dll b/obj/Debug/net5.0/rmutr_report.dll index ca62892..008debb 100644 Binary files a/obj/Debug/net5.0/rmutr_report.dll and b/obj/Debug/net5.0/rmutr_report.dll differ diff --git a/obj/Debug/net5.0/rmutr_report.pdb b/obj/Debug/net5.0/rmutr_report.pdb index 0f903ac..3ea637b 100644 Binary files a/obj/Debug/net5.0/rmutr_report.pdb and b/obj/Debug/net5.0/rmutr_report.pdb differ