1
0
mirror of https://github.com/bitwarden/web synced 2026-01-09 12:03:48 +00:00

bank account payment method for orgs

This commit is contained in:
Kyle Spearrin
2017-08-14 10:21:08 -04:00
parent 4749a3da89
commit 226c201925
13 changed files with 587 additions and 342 deletions

View File

@@ -80,6 +80,18 @@
});
};
$scope.verifyBank = function () {
var modal = $uibModal.open({
animation: true,
templateUrl: 'app/organization/views/organizationBillingVerifyBank.html',
controller: 'organizationBillingVerifyBankController'
});
modal.result.then(function () {
load();
});
};
$scope.cancel = function () {
if (!confirm('Are you sure you want to cancel? All users will lose access to the organization ' +
'at the end of this billing cycle.')) {
@@ -167,7 +179,8 @@
$scope.paymentSource = {
type: org.PaymentSource.Type,
description: org.PaymentSource.Description,
cardBrand: org.PaymentSource.CardBrand
cardBrand: org.PaymentSource.CardBrand,
needsVerification: org.PaymentSource.NeedsVerification
};
}