Narmada пре 2 година
родитељ
комит
d296bb15ba
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      CRM.Visitors/Managers/VisitorManager.Async.cs

+ 2
- 2
CRM.Visitors/Managers/VisitorManager.Async.cs Прегледај датотеку

@@ -57,7 +57,7 @@ namespace Bizgaze.CRM.Visitors.Managers
57 57
                 {
58 58
                     return SelectResponse<Unibase.Platform.Templates.Infos.PrintTemplate>.CreateErrorResponse("1", "Template Not Found");
59 59
                 }
60
-
60
+                string CreatedDate = VisitorInfo_.Result.CreatedDate.ToString("dd-MM-yyyy HH:mm:ss");
61 61
                 var template = System.Web.HttpUtility.UrlDecode(templateInfo.TemplateText.ToString());
62 62
                 string multiTemplateText = "";
63 63
                 if (template.Contains("{{fullname}}"))
@@ -82,7 +82,7 @@ namespace Bizgaze.CRM.Visitors.Managers
82 82
                 }
83 83
                 if (template.Contains("{{createddate}}"))
84 84
                 {
85
-                    template = template.Replace("{{createddate}}", VisitorInfo_.Result.CreatedDate.ToString());
85
+                    template = template.Replace("{{createddate}}", CreatedDate.ToString());
86 86
                 }
87 87
                 if (template.Contains("{{photourl}}"))
88 88
                 {

Loading…
Откажи
Сачувај