GJWilliams87 пре 4 година
родитељ
комит
c85e5526bd

+ 4
- 1
UnivateProperties_API/Controllers/Financial/RedirectController.cs Прегледај датотеку

@@ -42,7 +42,7 @@ namespace UnivateProperties_API.Controllers.Financial
42 42
             if (context.TRANSACTION_STATUS == 1)
43 43
             {
44 44
                 string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
45
-                timeshareWeek.StatusId = 22;
45
+                timeshareWeek.StatusId = 1;
46 46
                 _timeshareRepo.Update(timeshareWeek);
47 47
                 return Redirect("http://training.provision-sa.com:122/#/payments/success");
48 48
             }
@@ -55,6 +55,9 @@ namespace UnivateProperties_API.Controllers.Financial
55 55
             }
56 56
             else
57 57
             {
58
+                string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
59
+                timeshareWeek.StatusId = 32;
60
+                _timeshareRepo.Update(timeshareWeek);
58 61
                 return Redirect("http://training.provision-sa.com:122/");
59 62
             }
60 63
 

+ 1
- 1
UnivateProperties_API/Repository/Timeshare/WeekRepository.cs Прегледај датотеку

@@ -844,7 +844,7 @@ namespace UnivateProperties_API.Repository.Timeshare
844 844
             }
845 845
 
846 846
 
847
-            week.StatusId = status.Id;
847
+            week.StatusId = 32;
848 848
             _dbContext.Add(week);
849 849
             Save();
850 850
 

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