6
0

change createddate

Cette révision appartient à :
2023-06-28 10:58:07 +05:30
Parent d9f40a6ff2
révision d296bb15ba
+2 -2
Voir le fichier
@@ -57,7 +57,7 @@ namespace Bizgaze.CRM.Visitors.Managers
{
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());
string multiTemplateText = "";
if (template.Contains("{{fullname}}"))
@@ -82,7 +82,7 @@ namespace Bizgaze.CRM.Visitors.Managers
}
if (template.Contains("{{createddate}}"))
{
template = template.Replace("{{createddate}}", VisitorInfo_.Result.CreatedDate.ToString());
template = template.Replace("{{createddate}}", CreatedDate.ToString());
}
if (template.Contains("{{photourl}}"))
{