change createddate

이 커밋은 다음에 포함됨:
2023-06-28 10:58:07 +05:30
부모 d9f40a6ff2
커밋 d296bb15ba
+2 -2
파일 보기
@@ -57,7 +57,7 @@ namespace Bizgaze.CRM.Visitors.Managers
{ {
return SelectResponse<Unibase.Platform.Templates.Infos.PrintTemplate>.CreateErrorResponse("1", "Template Not Found"); return SelectResponse<Unibase.Platform.Templates.Infos.PrintTemplate>.CreateErrorResponse("1", "Template Not Found");
} }
string CreatedDate = VisitorInfo_.Result.CreatedDate.ToString("dd-MM-yyyy HH:mm:ss");
var template = System.Web.HttpUtility.UrlDecode(templateInfo.TemplateText.ToString()); var template = System.Web.HttpUtility.UrlDecode(templateInfo.TemplateText.ToString());
string multiTemplateText = ""; string multiTemplateText = "";
if (template.Contains("{{fullname}}")) if (template.Contains("{{fullname}}"))
@@ -82,7 +82,7 @@ namespace Bizgaze.CRM.Visitors.Managers
} }
if (template.Contains("{{createddate}}")) if (template.Contains("{{createddate}}"))
{ {
template = template.Replace("{{createddate}}", VisitorInfo_.Result.CreatedDate.ToString()); template = template.Replace("{{createddate}}", CreatedDate.ToString());
} }
if (template.Contains("{{photourl}}")) if (template.Contains("{{photourl}}"))
{ {