Merge pull request #175 from cmgustavo/matias/feat/send-all-fee-txp
Adds Fee to TXP modal
This commit is contained in:
commit
4325a94d1d
3 changed files with 6 additions and 0 deletions
|
|
@ -24,6 +24,10 @@
|
|||
<span class="label gray radius">{{alternativeAmountStr}}</span>
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p10">
|
||||
<span class="text-gray" translate>Fee</span>:
|
||||
<span class="right">{{feeStr}}</span>
|
||||
</li>
|
||||
<li class="line-b p10">
|
||||
<span class="text-gray" translate>Time</span>:
|
||||
<span class="right">
|
||||
|
|
|
|||
|
|
@ -349,6 +349,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
lodash.each(txps, function(tx) {
|
||||
var amount = tx.amount * self.satToUnit;
|
||||
tx.amountStr = profileService.formatAmount(tx.amount) + ' ' + config.unitName;
|
||||
tx.feeStr = profileService.formatAmount(tx.fee) + ' ' + config.unitName;
|
||||
tx.alternativeAmount = rateService.toFiat(tx.amount, config.alternativeIsoCode) ? rateService.toFiat(tx.amount, config.alternativeIsoCode).toFixed(2) : 'N/A';
|
||||
tx.alternativeAmountStr = tx.alternativeAmount + " " + config.alternativeIsoCode;
|
||||
tx.alternativeIsoCode = config.alternativeIsoCode;
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
$scope.error = null;
|
||||
$scope.tx = tx;
|
||||
$scope.amountStr = tx.amountStr;
|
||||
$scope.feeStr = tx.feeStr;
|
||||
$scope.alternativeAmountStr = tx.alternativeAmountStr;
|
||||
$scope.copayers = copayers
|
||||
$scope.copayerId = fc.credentials.copayerId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue