This commit is contained in:
@@ -422,7 +422,7 @@ namespace AyaNova.Biz
|
|||||||
reportRequest.IncludeWoItemDescendants = report.IncludeWoItemDescendants;
|
reportRequest.IncludeWoItemDescendants = report.IncludeWoItemDescendants;
|
||||||
|
|
||||||
//Get data
|
//Get data
|
||||||
var ReportData = await GetReportData(reportRequest);
|
var ReportData = await GetReportData(reportRequest);//SLOW
|
||||||
//if GetReportData errored then will return null so need to return that as well here
|
//if GetReportData errored then will return null so need to return that as well here
|
||||||
if (ReportData == null)
|
if (ReportData == null)
|
||||||
{
|
{
|
||||||
@@ -699,7 +699,7 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
//render to pdf and return
|
//render to pdf and return
|
||||||
log.LogDebug($"Calling render page contents to PDF");
|
log.LogDebug($"Calling render page contents to PDF");
|
||||||
await page.PdfAsync(outputFullPath, PdfOptions);
|
await page.PdfAsync(outputFullPath, PdfOptions);//SLOW
|
||||||
|
|
||||||
log.LogDebug($"Completed, returning results");
|
log.LogDebug($"Completed, returning results");
|
||||||
return outputFileName;
|
return outputFileName;
|
||||||
|
|||||||
Reference in New Issue
Block a user