Fix payment intent

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-30 19:14:22 -03:00 committed by Matias Alejo Garcia
parent c2163f8c7a
commit 022de7d2b5
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
$scope.wallets = [];
$rootScope.title = 'Payment intent';
$scope.wallets = rootScope.iden.listWallets();
$scope.wallets = $rootScope.iden.listAllWallets();
var l = $scope.wallet.length;
_.each($scope.wallets, function(w, i) {
@ -39,8 +39,8 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
$scope.cancel = function() {
$rootScope.pendingPayment = null;
$location.path('/');
$modalInstance.close();
$location.path('/homeWallet');
};
};

View File

@ -17,8 +17,8 @@
<div class="w-popup-sub">
<span ng-if="item.balanceInfo.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span>
<div ng-if="!item.balanceInfo.updatingBalance" data-options="disable_for_touch:true">
<b class="m5r size-12">{{item.balanceInfo.totalBalance || 0 |noFractionNumber}} {{item.settings.unitName}}</b>
<span class="alt-currency size-10">{{item.balanceInfo.totalBalanceAlternative |noFractionNumber:2}} {{item.balanceInfo.alternativeIsoCode}}</span>
<b class="m5r size-12">{{item.balanceInfo.totalBalance || 0}} {{item.settings.unitName}}</b>
<span class="alt-currency size-10">{{item.balanceInfo.totalBalanceAlternative}} {{item.balanceInfo.alternativeIsoCode}}</span>
</div>
</div>
</a>