homogeinize

This commit is contained in:
Javier 2016-09-19 10:37:32 -03:00
commit 0aa952abff
2 changed files with 28 additions and 25 deletions

View file

@ -16,9 +16,12 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
$scope.btx.amountStr = txFormatService.formatAmount($scope.btx.amount, true) + ' ' + walletSettings.unitName;
$scope.btx.feeStr = txFormatService.formatAmount($scope.btx.fees, true) + ' ' + walletSettings.unitName;
$scope.btx.feeLevel = walletSettings.feeLevel;
console.log(wallet);
console.log(walletSettings);
console.log($scope.btx);
if ($scope.btx.action != 'invalid') {
if ($scope.btx.action == 'sent') $scope.title = gettextCatalog.getString('Sent Funds');
if ($scope.btx.action == 'received') $scope.title = gettextCatalog.getString('Received Funds');
if ($scope.btx.action == 'moved') $scope.title = gettextCatalog.getString('Moved Funds');
}
$scope.showCommentPopup = function() {
$scope.data = {