Переглянути джерело

PayGate and UserFields

master
30117125 4 роки тому
джерело
коміт
2d0d9ff262

+ 1
- 0
UnivateProperties_API/Containers/Property/GroupFields.cs Переглянути файл

@@ -8,6 +8,7 @@
8 8
         public string Type { get; set; }
9 9
         public string Value { get; set; }                        
10 10
         public int ItemID { get; set; }
11
+        public int Rank { get; set; }
11 12
         #endregion
12 13
     }
13 14
 }

+ 2
- 0
UnivateProperties_API/Containers/Timeshare/Detailed/DetailedWeekDto.cs Переглянути файл

@@ -42,6 +42,7 @@ namespace UnivateProperties_API.Containers.Timeshare.Detailed
42 42
             Mandate = week.Mandate;
43 43
             Status = week.Status.Display;
44 44
             Owner = week.Owner != null ? new DetailedOwner(week.Owner) : new DetailedOwner();
45
+            Region = new RegionDto(week.Region.Code, week.Region.Description);
45 46
         }
46 47
 
47 48
         public int Id { get; set; }
@@ -74,5 +75,6 @@ namespace UnivateProperties_API.Containers.Timeshare.Detailed
74 75
         public bool Mandate { get; set; }
75 76
         public string Status { get; set; }
76 77
         public DetailedOwner Owner { get; set; }
78
+        public RegionDto Region { get; set; }
77 79
     }
78 80
 }

+ 1623
- 0
UnivateProperties_API/Migrations/20200914092358_Update.Designer.cs
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 17
- 0
UnivateProperties_API/Migrations/20200914092358_Update.cs Переглянути файл

@@ -0,0 +1,17 @@
1
+using Microsoft.EntityFrameworkCore.Migrations;
2
+
3
+namespace UnivateProperties_API.Migrations
4
+{
5
+    public partial class Update : Migration
6
+    {
7
+        protected override void Up(MigrationBuilder migrationBuilder)
8
+        {
9
+
10
+        }
11
+
12
+        protected override void Down(MigrationBuilder migrationBuilder)
13
+        {
14
+
15
+        }
16
+    }
17
+}

+ 1
- 1
UnivateProperties_API/Model/Communication/Email.cs Переглянути файл

@@ -47,7 +47,7 @@ namespace UnivateProperties_API.Model.Communication
47 47
                     SenderId = template.SenderId.Value;
48 48
                 }
49 49
                 Sender = template.Sender;
50
-                To = "jplouw@provision-sa.com"; // sendTo.Email;
50
+                To = "abigaildf@provision-sa.com"; // sendTo.Email;
51 51
                 ToDisplay = sendTo.FullName;
52 52
                 /*BCC = ConcatEmails(template.AgentBCC, template.IndividualBCC);*/
53 53
                 IsBodyHtml = true;

+ 1
- 1
UnivateProperties_API/Repository/Financial/PaygateRepository.cs Переглянути файл

@@ -36,7 +36,7 @@ namespace UnivateProperties_API.Repository.Financial
36 36
 
37 37
             string amm = Math.Round((total * 100)).ToString();
38 38
             string currenc = "ZAR";
39
-            string retUrl = "http://localhost:57260/api/redirect";
39
+            string retUrl = "http://training.provision-sa.com:82/api/redirect";
40 40
             string transDate = utcDate;
41 41
             string loc = "en-za";
42 42
             string count = "ZAF";

+ 3
- 1
UnivateProperties_API/Repository/Properties/UserDefinedGroupRepository.cs Переглянути файл

@@ -136,9 +136,11 @@ namespace UnivateProperties_API.Repository.Properties
136 136
                         {
137 137
                             ID = field.Id,
138 138
                             Name = field.FieldName,
139
-                            Type = field.FieldType
139
+                            Type = field.FieldType,
140
+                            Rank = field.Rank
140 141
                         });
141 142
                     }
143
+                   
142 144
                 }
143 145
             }
144 146
 

+ 1
- 1
UnivateProperties_API/appsettings.json Переглянути файл

@@ -9,7 +9,7 @@
9 9
   },
10 10
   "AllowedHosts": "*",
11 11
   "ConnectionStrings": {
12
-    "DefaultConnection": "Data Source=localhost;Initial Catalog=UniVateDemo;Persist Security Info=True;User Id=Provision;Password=What123!;Pooling=false;",
12
+    "DefaultConnection": "Data Source=192.168.0.219;Initial Catalog=UniVateDemo;Persist Security Info=True;User Id=Provision;Password=What123!;Pooling=false;",
13 13
     "TenderConnection": "http://www.unipoint-consoft.co.za/nph-srep.exe?cluvavail.sch&CLUB=LPA&RESORT=ALL&SUMMARY=N&HEAD=N"
14 14
   }
15 15
 }

Завантаження…
Відмінити
Зберегти