change createddate

Tento commit je obsažen v:
2023-06-28 10:58:07 +05:30
rodič d9f40a6ff2
revize d296bb15ba
+2 -2
Zobrazit soubor
@@ -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}}"))
{