This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user