copay/public/views/modals/amazon-card-details.html

98 lines
4.1 KiB
HTML
Raw Normal View History

<ion-modal-view ng-controller="amazonCardDetailsController">
2016-07-29 07:13:10 -07:00
<ion-header-bar align-title="center" class="tab-bar">
<div class="left-small">
<a ng-click="cancel()" class="p10">
<span class="text-close">Close</span>
</a>
2016-07-29 07:13:10 -07:00
</div>
<h1 class="title ellipsis">
Details
</h1>
</ion-header-bar>
2016-07-29 07:13:10 -07:00
<ion-content>
2016-07-21 07:18:48 -07:00
<div class="modal-content">
2016-06-14 07:44:44 -07:00
<div class="header-modal text-center">
2016-06-05 16:43:55 -07:00
<img src="img/a_generic.jpg" alt="Amazon.com Gift Card" width="230" ng-click="refreshGiftCard()">
2016-06-05 16:43:55 -07:00
2016-07-21 07:18:48 -07:00
<div ng-show="card.claimCode">
<div class="m10t">
2016-07-21 07:18:48 -07:00
Gift Card Amount:
<span class="text-bold">
2016-07-21 07:18:48 -07:00
{{card.amount | currency : '$ ' : 2}}
</span>
</div>
2016-08-03 14:50:57 -07:00
<div ng-show="card.cardStatus !== 'Canceled'">
2016-07-21 07:18:48 -07:00
Claim code: <span class="text-bold enable_text_select">{{card.claimCode}}</span>
</div>
2016-07-21 07:18:48 -07:00
<div class="m10t" ng-show="card.cardStatus == 'Fulfilled'">
<button class="button black round tiny"
ng-click="$root.openExternalLink('https://www.amazon.com/gc/redeem?claimCode=' + card.claimCode, '_system')">
Redeem Now
</button>
</div>
2016-08-03 14:50:57 -07:00
<div class="m10t" ng-show="card.cardStatus == 'Canceled'">
<div class="m10t">
Status:
<span class="text-bold">
CANCELED
</span>
</div>
</div>
2016-07-21 07:18:48 -07:00
</div>
<div ng-show="!card.claimCode">
<div class="m10t">
Status:
2016-08-04 09:21:14 -07:00
<span class="text-bold" ng-show="card.status == 'PENDING'">
2016-07-21 07:18:48 -07:00
PENDING
</span>
2016-08-04 09:40:57 -07:00
<span class="text-bold" ng-show="card.status == 'FAILURE' || card.status == 'RESEND'">
2016-08-04 09:21:14 -07:00
FAILURE
</span>
</div>
</div>
2016-07-21 07:18:48 -07:00
<div class="size-12 m10t text-center">
<a ng-click="$root.openExternalLink(card.invoiceUrl)">See invoice</a>
</div>
2016-06-05 16:43:55 -07:00
</div>
<div class="box-notification m20b" ng-show="error" ng-click="error = null">
<span class="text-warning">
{{error}}
</span>
2016-07-21 07:18:48 -07:00
</div>
2016-05-19 13:29:24 -07:00
2016-08-04 09:40:57 -07:00
<div class="text-center size-12 text-warning m10" ng-show="card.status == 'FAILURE' || card.status == 'RESEND'">
2016-08-04 09:21:14 -07:00
There was a failure to the create gift card. Please, contact BitPay to refund your bitcoin
2016-05-19 13:29:24 -07:00
</div>
2016-06-14 07:44:44 -07:00
<div class="size-12 white p15 m30v">
*Amazon.com Gift Cards (&quot;GCs&quot;) sold by BitPay, Inc., an authorized and independent
reseller of Amazon.com Gift Cards. Except as required by law, GCs cannot be transferred for value or redeemed for cash.
GCs may be used only for purchases of eligible goods at Amazon.com or certain of its affiliated websites. Purchases are
deducted from the GC balance. To redeem or view a GC balance, visit &ldquo;Your Account&rdquo; at Amazon.com. Amazon is
2016-07-21 07:18:48 -07:00
not responsible if a GC is lost, stolen, destroyed or used without permission. See
<a ng-click="$root.openExternalLink('https://www.amazon.com/gc-legal')">www.amazon.com/gc-legal</a> for complete terms,
restrictions and exceptions. For any other questions, see
<a ng-click="$root.openExternalLink('https://www.amazon.com/gc')">www.amazon.com/gc</a>. GCs are issued
by ACI Gift Cards, Inc., a Washington corporation. All Amazon &reg;, &trade; &amp; &copy; are IP of
Amazon.com, Inc. or its affiliates. No expiration date or service fees.
</div>
2016-06-05 16:43:55 -07:00
2016-06-14 10:49:17 -07:00
<ul class="no-bullet size-14 m30v text-center">
2016-08-03 06:05:20 -07:00
<li class="line-b p10 oh pointer" ng-show="card.status == 'SUCCESS' && card.cardStatus == 'Fulfilled'" ng-click="cancelGiftCard()">
2016-08-03 06:05:20 -07:00
<span class="text-warning">Cancel</span>
2016-08-03 06:05:20 -07:00
</li>
2016-08-03 14:50:57 -07:00
<li class="line-b p10 oh pointer" ng-show="card.status == 'FAILURE' || card.cardStatus == 'Canceled'
2016-07-21 07:18:48 -07:00
|| card.cardStatus == 'Expired'" ng-click="remove()">
2016-08-03 06:05:20 -07:00
<span class="text-warning">Remove</span>
2016-06-14 07:44:44 -07:00
</li>
</ul>
<div class="extra-margin-bottom"></div>
</div>
</ion-content>
</ion-modal-view>