Преглед изворни кода

VisitorManager.Async.cs Changes

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

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

64
                 {
64
                 {
65
                     template = template.Replace("{{fullname}}", VisitorInfo_.Result.FullName);
65
                     template = template.Replace("{{fullname}}", VisitorInfo_.Result.FullName);
66
                 }
66
                 }
67
-                if (template.Contains("{{comingfrom}}"))
67
+                if (template.Contains("{{cityname}}"))
68
                 {
68
                 {
69
-                    template = template.Replace("{{comingfrom}}", VisitorInfo_.Result.ComingFrom);
69
+                    template = template.Replace("{{cityname}}", VisitorInfo_.Result.CityName);
70
                 }
70
                 }
71
                 if (template.Contains("{{purposeofvisit}}"))
71
                 if (template.Contains("{{purposeofvisit}}"))
72
                 {
72
                 {

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