Enable invoice views on all plans
This commit is contained in:
parent
80435d9c0b
commit
ee3ad9e7c3
3 changed files with 10 additions and 11 deletions
|
@ -1691,7 +1691,6 @@ function UserAdminCtrl($scope, $timeout, $location, ApiService, PlanService, Use
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.loadInvoices = function() {
|
$scope.loadInvoices = function() {
|
||||||
if (!$scope.hasPaidBusinessPlan) { return; }
|
|
||||||
$scope.invoicesShown++;
|
$scope.invoicesShown++;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,13 @@
|
||||||
</span>
|
</span>
|
||||||
<i class="fa fa-upload visible-lg"></i>
|
<i class="fa fa-upload visible-lg"></i>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="feature">
|
||||||
|
<span class="context-tooltip" bs-tooltip="tooltip.title" data-container="body" data-placement="right"
|
||||||
|
data-title="Administrators can view and download the full invoice history for their organization">
|
||||||
|
Invoice History
|
||||||
|
</span>
|
||||||
|
<i class="fa fa-calendar visible-lg"></i>
|
||||||
|
</div>
|
||||||
<div class="feature">
|
<div class="feature">
|
||||||
<span class="context-tooltip" bs-tooltip="tooltip.title" data-container="body" data-placement="right"
|
<span class="context-tooltip" bs-tooltip="tooltip.title" data-container="body" data-placement="right"
|
||||||
data-title="Grant subsets of users in an organization their own permissions, either on a global basis or a per-repository basis">
|
data-title="Grant subsets of users in an organization their own permissions, either on a global basis or a per-repository basis">
|
||||||
|
@ -48,13 +55,6 @@
|
||||||
</span>
|
</span>
|
||||||
<i class="fa fa-bar-chart-o visible-lg"></i>
|
<i class="fa fa-bar-chart-o visible-lg"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="feature">
|
|
||||||
<span class="context-tooltip" bs-tooltip="tooltip.title" data-container="body" data-placement="right"
|
|
||||||
data-title="Administrators can view and download the full invoice history for their organization">
|
|
||||||
Invoice History
|
|
||||||
</span>
|
|
||||||
<i class="fa fa-calendar visible-lg"></i>
|
|
||||||
</div>
|
|
||||||
<div class="feature">
|
<div class="feature">
|
||||||
<span class="context-tooltip" bs-tooltip="tooltip.title" data-container="body" data-placement="right"
|
<span class="context-tooltip" bs-tooltip="tooltip.title" data-container="body" data-placement="right"
|
||||||
data-title="All plans have a free trial">
|
data-title="All plans have a free trial">
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
<div class="feature present"></div>
|
<div class="feature present"></div>
|
||||||
<div class="feature present"></div>
|
<div class="feature present"></div>
|
||||||
<div class="feature present"></div>
|
<div class="feature present"></div>
|
||||||
<div class="feature" ng-class="plan.bus_features ? 'present' : ''"></div>
|
<div class="feature present"></div>
|
||||||
<div class="feature" ng-class="plan.bus_features ? 'present' : ''"></div>
|
<div class="feature" ng-class="plan.bus_features ? 'present' : ''"></div>
|
||||||
<div class="feature" ng-class="plan.bus_features ? 'present' : ''"></div>
|
<div class="feature" ng-class="plan.bus_features ? 'present' : ''"></div>
|
||||||
<div class="feature present"></div>
|
<div class="feature present"></div>
|
||||||
|
@ -93,9 +93,9 @@
|
||||||
<div class="feature present">SSL Encryption</div>
|
<div class="feature present">SSL Encryption</div>
|
||||||
<div class="feature present">Robot accounts</div>
|
<div class="feature present">Robot accounts</div>
|
||||||
<div class="feature present">Dockerfile Build</div>
|
<div class="feature present">Dockerfile Build</div>
|
||||||
|
<div class="feature present">Invoice History</div>
|
||||||
<div class="feature" ng-class="plan.bus_features ? 'present' : 'notpresent'">Teams</div>
|
<div class="feature" ng-class="plan.bus_features ? 'present' : 'notpresent'">Teams</div>
|
||||||
<div class="feature" ng-class="plan.bus_features ? 'present' : 'notpresent'">Logging</div>
|
<div class="feature" ng-class="plan.bus_features ? 'present' : 'notpresent'">Logging</div>
|
||||||
<div class="feature" ng-class="plan.bus_features ? 'present' : 'notpresent'">Invoice History</div>
|
|
||||||
<div class="feature present">Free Trial</div>
|
<div class="feature present">Free Trial</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<li ng-show="hasPaidPlan" quay-require="['BILLING']">
|
<li ng-show="hasPaidPlan" quay-require="['BILLING']">
|
||||||
<a href="javascript:void(0)" data-toggle="tab" data-target="#billingoptions">Billing Options</a>
|
<a href="javascript:void(0)" data-toggle="tab" data-target="#billingoptions">Billing Options</a>
|
||||||
</li>
|
</li>
|
||||||
<li ng-show="hasPaidBusinessPlan" quay-require="['BILLING']">
|
<li ng-show="hasPaidPlan" quay-require="['BILLING']">
|
||||||
<a href="javascript:void(0)" data-toggle="tab" data-target="#billing" ng-click="loadInvoices()">Billing History</a>
|
<a href="javascript:void(0)" data-toggle="tab" data-target="#billing" ng-click="loadInvoices()">Billing History</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
Reference in a new issue