This commit is contained in:
2020-09-10 14:09:10 +00:00
parent f055a03204
commit d8ba7959d9

View File

@@ -124,10 +124,10 @@ namespace AyaNova.Biz
public static async Task PrimeReportTemplates() public static async Task PrimeReportTemplates()
{ {
//Read in each stock translation from a text file and then create them in the DB //Read in each stock translation from a text file and then create them in the DB
var ReportFilesPath = Path.Combine(ServerBootConfig.AYANOVA_CONTENT_ROOT_PATH, "resource\\rpt\\stock-report-templates"); var ReportFilesPath = Path.Combine(ServerBootConfig.AYANOVA_CONTENT_ROOT_PATH, "resource","rpt","stock-report-templates");
if (!Directory.Exists(ReportFilesPath)) if (!Directory.Exists(ReportFilesPath))
{ {
throw new System.Exception($"E1012: \"resource\\rpt\\stock-report-templates\" folder not found where expected: \"{ReportFilesPath}\", installation damaged?"); throw new System.Exception($"E1012: \"stock-report-templates\" folder not found where expected: \"{ReportFilesPath}\", installation damaged?");
} }
//iterate all ayrt files and import each one //iterate all ayrt files and import each one