correction
This commit is contained in:
parent
af5d41b28a
commit
22e60d4e9e
|
@ -3661,22 +3661,6 @@ namespace HRM.Report
|
||||||
|
|
||||||
#endregion
|
#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);
|
string templatePath = System.IO.Path.Combine(System.Environment.CurrentDirectory + "\\Documents\\LetterTempFolder\\" + lFileName);
|
||||||
|
|
||||||
// Copy template to output file
|
// Copy template to output file
|
||||||
|
|
|
@ -816,7 +816,7 @@ namespace HRM.UI.Controllers
|
||||||
ltemplate.Type = EnumDocType.Desktop_Letter;
|
ltemplate.Type = EnumDocType.Desktop_Letter;
|
||||||
ltemplate.TypeID = (int)EnumDocType.Desktop_Letter;
|
ltemplate.TypeID = (int)EnumDocType.Desktop_Letter;
|
||||||
|
|
||||||
lFileName = "Staff.doc";
|
lFileName = "Staff.docx";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -828,7 +828,7 @@ namespace HRM.UI.Controllers
|
||||||
ltemplate.Type = EnumDocType.Desktop_Letter;
|
ltemplate.Type = EnumDocType.Desktop_Letter;
|
||||||
ltemplate.TypeID = (int)EnumDocType.Desktop_Letter;
|
ltemplate.TypeID = (int)EnumDocType.Desktop_Letter;
|
||||||
|
|
||||||
lFileName = "Worker.doc";
|
lFileName = "Worker.docx";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user