correction

This commit is contained in:
mashfiq 2025-08-27 17:30:11 +06:00
parent af5d41b28a
commit 22e60d4e9e
2 changed files with 2 additions and 18 deletions

View File

@ -3661,22 +3661,6 @@ namespace HRM.Report
#endregion
//string templatePath = Path.Combine(Environment.CurrentDirectory, "Documents", "LetterTempFolder", lFileName);
//FileInfo ossInfo = null;
//ossInfo = new FileInfo(sFilePath);
//if (ossInfo.Exists)
//{
// ossInfo.Delete();
//}
string templatePath = System.IO.Path.Combine(System.Environment.CurrentDirectory + "\\Documents\\LetterTempFolder\\" + lFileName);
// Copy template to output file

View File

@ -816,7 +816,7 @@ namespace HRM.UI.Controllers
ltemplate.Type = EnumDocType.Desktop_Letter;
ltemplate.TypeID = (int)EnumDocType.Desktop_Letter;
lFileName = "Staff.doc";
lFileName = "Staff.docx";
}
else
{
@ -828,7 +828,7 @@ namespace HRM.UI.Controllers
ltemplate.Type = EnumDocType.Desktop_Letter;
ltemplate.TypeID = (int)EnumDocType.Desktop_Letter;
lFileName = "Worker.doc";
lFileName = "Worker.docx";
}