This commit is contained in:
@@ -388,9 +388,10 @@ namespace AyaNova.Biz
|
||||
//https://github.com/cure53/DOMPurify
|
||||
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
|
||||
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
|
||||
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ay-report.js") });
|
||||
|
||||
Reference in New Issue
Block a user