Merge pull request #5924 from cmgustavo/feat/top-up-card-info

Top up cards: adds last four digits of the card to description of tx
This commit is contained in:
Matias Alejo Garcia 2017-04-24 13:45:46 +02:00 committed by GitHub
commit ddaa2258a8

View file

@ -147,7 +147,7 @@ angular.module('copayApp.controllers').controller('topUpController', function($s
var outputs = [];
var toAddress = payProDetails.toAddress;
var amountSat = payProDetails.amount;
var comment = 'Top up ' + amount + ' ' + currency + ' to Debit Card';
var comment = 'Top up ' + amount + ' ' + currency + ' to Debit Card (' + $scope.cardInfo.lastFourDigits + ')';
outputs.push({
'toAddress': toAddress,