Browse Source

VisitorManager.Async.cs Changes

allauddin 1 year ago
parent
commit
6f4d348401
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      CRM.Visitors/Managers/VisitorManager.Async.cs

+ 2
- 2
CRM.Visitors/Managers/VisitorManager.Async.cs View File

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…
Cancel
Save