6
0

change createddate

Dieser Commit ist enthalten in:
2023-06-28 10:58:07 +05:30
Ursprung d9f40a6ff2
Commit d296bb15ba
@@ -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}}"))
{ {