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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user