Bläddra i källkod

VisitorManager.Async.cs Changes

allauddin 2 år sedan
förälder
incheckning
6f4d348401
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      CRM.Visitors/Managers/VisitorManager.Async.cs

+ 2
- 2
CRM.Visitors/Managers/VisitorManager.Async.cs Visa fil

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
                 {

Laddar…
Avbryt
Spara