diff --git a/src/app/constants.js b/src/app/constants.js index b88f1e8f3f..6b97e0f8bc 100644 --- a/src/app/constants.js +++ b/src/app/constants.js @@ -106,14 +106,12 @@ angular.module('bit') noPayment: true, upgradeSortOrder: -1 }, - personal: { + families: { basePrice: 1, annualBasePrice: 12, baseSeats: 5, - seatPrice: 1, - annualSeatPrice: 12, - maxAdditionalSeats: 5, - annualPlanType: 'personalAnnually', + noAdditionalSeats: true, + annualPlanType: 'familiesAnnually', upgradeSortOrder: 1 }, teams: { diff --git a/src/app/organization/organizationBillingController.js b/src/app/organization/organizationBillingController.js index 0a8c559e6a..88c09f5f82 100644 --- a/src/app/organization/organizationBillingController.js +++ b/src/app/organization/organizationBillingController.js @@ -59,7 +59,7 @@ }; $scope.adjustSeats = function (add) { - if ($scope.selfHosted) { + if ($scope.selfHosted || !$scope.canAdjustSeats) { return; } @@ -221,6 +221,7 @@ apiService.organizations.getBilling({ id: $state.params.orgId }, function (org) { $scope.loading = false; $scope.noSubscription = org.PlanType === 0; + $scope.canAdjustSeats = org.PlanType > 1; var i = 0; $scope.expiration = org.Expiration; diff --git a/src/app/organization/views/organizationBilling.html b/src/app/organization/views/organizationBilling.html index 40120c6b27..e720cc672c 100644 --- a/src/app/organization/views/organizationBilling.html +++ b/src/app/organization/views/organizationBilling.html @@ -119,7 +119,7 @@ You plan currently has a total of {{plan.seats}} seats. -
-