Enterprise fees admin page for a specific enterprise auto-selects that enterprise for new fees and only allows selection of managed enterprises

This commit is contained in:
Rohan Mitchell
2013-10-30 17:00:05 +11:00
parent 32889715f0
commit 5386fa72cc
5 changed files with 25 additions and 12 deletions

View File

@@ -14,10 +14,6 @@ angular.module('enterprise_fees', [])
$http.get($scope.enterpriseFeesUrl()).success(function(data) {
$scope.enterprise_fees = data;
for(i=0; i<3; i++) {
$scope.enterprise_fees.push({});
}
// TODO: Angular 1.1.0 will have a means to reset a form to its pristine state, which
// would avoid the need to save off original calculator types for comparison.
for(i in $scope.enterprise_fees) {