Commit db1ba3c1c70023dc27dc808f14d33f10b38fc0d6
1 parent
96991e0c1f
Exists in
master
and in
1 other branch
modify
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
pages/verify.html
... | ... | @@ -31,7 +31,7 @@ |
31 | 31 | </div> |
32 | 32 | </div> |
33 | 33 | <div style="text-align:center; margin-top:6%;margin-bottom:5%"> |
34 | - <input type="button" class="btn submit-button" value="payment" ng-click="update()"> | |
34 | + <input type="button" class="btn submit-button" value="Pay Now" ng-click="update()"> | |
35 | 35 | </div> |
36 | 36 | </div> |
37 | 37 | </div> | ... | ... |
script.js
... | ... | @@ -688,8 +688,8 @@ |
688 | 688 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', |
689 | 689 | headers: {} |
690 | 690 | }).then(function mySuccess(searchResult) { |
691 | - // if (searchResult.data[0].status == "created") { | |
692 | - if (searchResult.data[0].status == "cancelled") { | |
691 | + //if (searchResult.data[0].status == "created") { | |
692 | + if (searchResult.data[0].status == "pending") { | |
693 | 693 | $scope.checkView = true; |
694 | 694 | $scope.verifyView = false; |
695 | 695 | $scope.amount = searchResult.data[0].amount; | ... | ... |