ปรับแบบรายงานการประเมินผลการทดลองปฏิบัติหน้าที่ราชการ (18) #1
Some checks failed
release-dev / release-dev (push) Has been cancelled

This commit is contained in:
Bright 2025-01-21 18:10:31 +07:00
parent 5380dad68e
commit 50b3dde54e
2 changed files with 3 additions and 3 deletions

View file

@ -1131,10 +1131,10 @@ namespace BMA.EHR.Report.Service.Controllers
//ReportProcessor reportProcessor = new ReportProcessor(_configuration);
//RenderingResult result = reportProcessor.RenderReport($"{exportType}", instanceReportSource, deviceInfo);
//return File(result.DocumentBytes, mimeType, $"แบบรายงานการประเมินผล.{exportType.Trim().ToLower()}");
var ExpandMonth = evaluateAssign.GetType().GetProperty("ExpandMonth").GetValue(evaluateAssign).ToString();
var data = new
{
template = ExpandMonth == "" ? "probation-18-1" : "probation-18-2",
template = no == 1 ? "probation-18-1" : "probation-18-2",
reportName = "docx-report",
data = evaluateAssign
};