diff --git a/public/views/amazon.html b/public/views/amazon.html index 5a430e23f..7a816378e 100644 --- a/public/views/amazon.html +++ b/public/views/amazon.html @@ -75,7 +75,8 @@ Error Resend is required Pending to confirmation - {{item.date | amTimeAgo}} + Canceled + {{item.date | amTimeAgo}}
diff --git a/public/views/modals/amazon-card-details.html b/public/views/modals/amazon-card-details.html index 1e75ee032..70ee8f125 100644 --- a/public/views/modals/amazon-card-details.html +++ b/public/views/modals/amazon-card-details.html @@ -33,6 +33,14 @@ Redeem Now
+
+
+ Status: + + CANCELED + +
+
diff --git a/src/js/controllers/modals/amazonCardDetails.js b/src/js/controllers/modals/amazonCardDetails.js index e9e461569..432d32a0d 100644 --- a/src/js/controllers/modals/amazonCardDetails.js +++ b/src/js/controllers/modals/amazonCardDetails.js @@ -10,7 +10,10 @@ angular.module('copayApp.controllers').controller('amazonCardDetailsController', $scope.error = bwcError.msg(err); return; } - $scope.$emit('UpdateAmazonList'); + $scope.card.cardStatus = data.cardStatus; + amazonService.savePendingGiftCard($scope.card, null, function(err) { + $scope.$emit('UpdateAmazonList'); + }); }); };