This commit is contained in:
@@ -388,9 +388,10 @@ namespace AyaNova.Biz
|
|||||||
//https://github.com/cure53/DOMPurify
|
//https://github.com/cure53/DOMPurify
|
||||||
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ay-pf.js") });
|
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ay-pf.js") });
|
||||||
|
|
||||||
//add Bar code library
|
//add Bar code library if our bar code helper is referenced
|
||||||
//https://github.com/metafloor/bwip-js
|
//https://github.com/metafloor/bwip-js
|
||||||
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ay-bc.js") });
|
if (report.Template.Contains("ayBC ") || report.JsHelpers.Contains("ayBC "))
|
||||||
|
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ay-bc.js") });
|
||||||
|
|
||||||
//add stock helpers
|
//add stock helpers
|
||||||
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ay-report.js") });
|
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ay-report.js") });
|
||||||
|
|||||||
Reference in New Issue
Block a user