瀏覽代碼

PayGate and UserFields

master
30117125 4 年之前
父節點
當前提交
2d0d9ff262

+ 1
- 0
UnivateProperties_API/Containers/Property/GroupFields.cs 查看文件

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

+ 2
- 0
UnivateProperties_API/Containers/Timeshare/Detailed/DetailedWeekDto.cs 查看文件

42
             Mandate = week.Mandate;
42
             Mandate = week.Mandate;
43
             Status = week.Status.Display;
43
             Status = week.Status.Display;
44
             Owner = week.Owner != null ? new DetailedOwner(week.Owner) : new DetailedOwner();
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
         public int Id { get; set; }
48
         public int Id { get; set; }
74
         public bool Mandate { get; set; }
75
         public bool Mandate { get; set; }
75
         public string Status { get; set; }
76
         public string Status { get; set; }
76
         public DetailedOwner Owner { get; set; }
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 查看文件

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

+ 1
- 1
UnivateProperties_API/Repository/Financial/PaygateRepository.cs 查看文件

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

+ 3
- 1
UnivateProperties_API/Repository/Properties/UserDefinedGroupRepository.cs 查看文件

136
                         {
136
                         {
137
                             ID = field.Id,
137
                             ID = field.Id,
138
                             Name = field.FieldName,
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
   },
9
   },
10
   "AllowedHosts": "*",
10
   "AllowedHosts": "*",
11
   "ConnectionStrings": {
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
     "TenderConnection": "http://www.unipoint-consoft.co.za/nph-srep.exe?cluvavail.sch&CLUB=LPA&RESORT=ALL&SUMMARY=N&HEAD=N"
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
 }

Loading…
取消
儲存