1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

change payment method for org

This commit is contained in:
Kyle Spearrin
2017-04-08 16:42:05 -04:00
parent d4b4c7bd71
commit f63f4e0aa3
10 changed files with 398 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
angular
.module('bit.organization')
.controller('organizationBillingController', function ($scope, apiService, $state) {
.controller('organizationBillingController', function ($scope, apiService, $state, $uibModal) {
$scope.charges = [];
$scope.paymentSource = null;
$scope.plan = null;
@@ -63,7 +63,15 @@
});
$scope.changePayment = function () {
var modal = $uibModal.open({
animation: true,
templateUrl: 'app/organization/views/organizationBillingChangePayment.html',
controller: 'organizationBillingChangePaymentController'
});
modal.result.then(function () {
// TODO: reload
});
};
$scope.cancel = function () {