Change Report

This commit is contained in:
Suphonchai Phoonsawat 2023-09-12 11:09:57 +07:00
parent d0c93b1d96
commit 09b7175f25

View file

@ -244,6 +244,9 @@ namespace BMA.EHR.Report.Service.Controllers
var rptFile = System.IO.Path.Combine(_hostingEnvironment.ContentRootPath, "Reports", $"41-แบบ ขร3 บัญชีรายชื่อข้าราชการผู้ขอพระราชทานเครื่องราชฯ.trdp");
ReportPackager reportPacker = new ReportPackager();
Telerik.Reporting.Report? report = null;
using (var sourceStream = System.IO.File.OpenRead(rptFile))
{
report = (Telerik.Reporting.Report)reportPacker.UnpackageDocument(sourceStream);