set teams plan when business is checked
This commit is contained in:
parent
b11d7be990
commit
60f62b2b50
|
@ -48,6 +48,12 @@
|
|||
}
|
||||
};
|
||||
|
||||
$scope.changedBusiness = function () {
|
||||
if ($scope.model.ownedBusiness) {
|
||||
$scope.model.plan = 'teams'
|
||||
}
|
||||
};
|
||||
|
||||
$scope.submit = function (model) {
|
||||
var shareKey = cryptoService.makeShareKey();
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<section class="content-header">
|
||||
`<section class="content-header">
|
||||
<h1>Create Organization</h1>
|
||||
</section>
|
||||
<section class="content">
|
||||
|
@ -36,7 +36,8 @@
|
|||
</div>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" ng-model="model.ownedBusiness"> This account is owned by a business.
|
||||
<input type="checkbox" ng-model="model.ownedBusiness" ng-click="changedBusiness()">
|
||||
This account is owned by a business.
|
||||
</label>
|
||||
</div>
|
||||
<div class="row" ng-show="model.ownedBusiness">
|
||||
|
|
Loading…
Reference in New Issue