mirror of https://github.com/BTCPrivate/copay.git
Added conversion rate to send controller
This commit is contained in:
parent
e2af5ac782
commit
6b891418d3
|
@ -200,8 +200,7 @@ angular.module('copayApp.services')
|
||||||
$rootScope.totalBalanceAlternative = rateService.toFiat(balanceSat, w.settings.alternativeIsoCode);
|
$rootScope.totalBalanceAlternative = rateService.toFiat(balanceSat, w.settings.alternativeIsoCode);
|
||||||
$rootScope.alternativeIsoCode = w.settings.alternativeIsoCode;
|
$rootScope.alternativeIsoCode = w.settings.alternativeIsoCode;
|
||||||
$rootScope.lockedBalanceAlternative = rateService.toFiat(balanceSat - safeBalanceSat, w.settings.alternativeIsoCode);
|
$rootScope.lockedBalanceAlternative = rateService.toFiat(balanceSat - safeBalanceSat, w.settings.alternativeIsoCode);
|
||||||
|
$rootScope.alternativeConversionRate = rateService.toFiat(100000000, w.settings.alternativeIsoCode);
|
||||||
|
|
||||||
return cb ? cb() : null;
|
return cb ? cb() : null;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<div ng-show="txs.length != 0" class="large-12 line-dashed" style="padding: 0;"></div>
|
<div ng-show="txs.length != 0" class="large-12 line-dashed" style="padding: 0;"></div>
|
||||||
|
|
||||||
<h1>{{title|translate}}</h1>
|
<h1>{{title|translate}}</h1>
|
||||||
|
<span>1 BTC = {{alternativeConversionRate|noFractionNumber:2}} {{alternativeIsoCode}}</span>
|
||||||
<div class="row collapse m0">
|
<div class="row collapse m0">
|
||||||
<div class="large-6 columns">
|
<div class="large-6 columns">
|
||||||
<form name="sendForm" ng-submit="submitForm(sendForm)" novalidate>
|
<form name="sendForm" ng-submit="submitForm(sendForm)" novalidate>
|
||||||
|
|
Loading…
Reference in New Issue