add paypro modal

This commit is contained in:
Javier 2016-05-26 10:40:20 -03:00
commit 9fa24c9d3d
5 changed files with 81 additions and 90 deletions

View file

@ -0,0 +1,16 @@
'use strict';
angular.module('copayApp.controllers').controller('payproController', function($scope, profileService) {
var self = $scope.self;
$scope.alternative = self.alternativeAmount;
$scope.alternativeIsoCode = self.alternativeIsoCode;
$scope.isRateAvailable = self.isRateAvailable;
$scope.unitTotal = ($scope.paypro.amount * self.satToUnit).toFixed(self.unitDecimals);
$scope.unitName = self.unitName;
$scope.cancel = function() {
$scope.payproModal.hide();
$scope.payproModal.remove();
};
});