New send flow for the Amazon integration

This commit is contained in:
Gustavo Maximiliano Cortez 2016-11-28 17:01:07 -03:00
commit 1d1b632886
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
10 changed files with 197 additions and 10 deletions

View file

@ -965,6 +965,9 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
controller: 'amazonController',
templateUrl: 'views/amazon.html'
}
},
params: {
cardClaimCode: null
}
})
.state('tabs.giftcards.amazon.buy', {
@ -977,6 +980,33 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
}
}
})
.state('tabs.giftcards.amazon.amount', {
url: '/amount',
views: {
'tab-home@tabs': {
controller: 'amountController',
templateUrl: 'views/amount.html'
}
},
params: {
buyAmazon: true,
toName: 'Amazon.com Gift Card'
}
})
.state('tabs.giftcards.amazon.confirm', {
url: '/confirm/:toAmount/:toAddress/:description/:giftAmountUSD/:giftAccessKey/:giftInvoiceTime/:giftUUID',
views: {
'tab-home@tabs': {
controller: 'confirmController',
templateUrl: 'views/confirm.html'
}
},
params: {
buyAmazon: true,
toName: 'Amazon.com Gift Card',
paypro: null
}
})
/*
*