Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Finished reports
  • Loading branch information
sec11008 committed Dec 11, 2015
1 parent ae35c61 commit 78c8a4f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions TeamDBAwesome/TeamDBAwesome/js/adminController.js
Expand Up @@ -235,6 +235,7 @@ angular.module('routerApp').controller('adminController', function ($scope, $htt
//CustomerDemographics //CustomerDemographics
$scope.custInfoGridOptions = { $scope.custInfoGridOptions = {
enableFiltering: true, enableFiltering: true,
showGridFooter: true,
columnDefs: [ columnDefs: [
{field: 'FName', displayName: 'First Name'}, {field: 'FName', displayName: 'First Name'},
{field: 'LName', displayName: 'Last Name'}, {field: 'LName', displayName: 'Last Name'},
Expand Down Expand Up @@ -477,7 +478,7 @@ angular.module('routerApp').controller('adminController', function ($scope, $htt
$scope.inventoryGridOptions = { $scope.inventoryGridOptions = {
enableFiltering: true, enableFiltering: true,
showColumnFooter: true, showColumnFooter: true,
showGridFoorter: true, showGridFooter: true,
columnDefs: [ columnDefs: [
{ field: 'TrackName', displayName: 'Track Title', width:'20%' }, { field: 'TrackName', displayName: 'Track Title', width:'20%' },
{ field: 'artist' }, { field: 'artist' },
Expand Down Expand Up @@ -506,7 +507,7 @@ angular.module('routerApp').controller('adminController', function ($scope, $htt
$scope.salesGridOptions = { $scope.salesGridOptions = {
enableFiltering: true, enableFiltering: true,
showColumnFooter: true, showColumnFooter: true,
showGridFoorter: true, showGridFooter: true,
columnDefs: [ columnDefs: [
{ field: 'invoiceId', displayName: 'Invoice Id', { field: 'invoiceId', displayName: 'Invoice Id',
filters: [ filters: [
Expand Down Expand Up @@ -550,7 +551,9 @@ angular.module('routerApp').controller('adminController', function ($scope, $htt
condition: uiGridConstants.filter.LESS_THAN, condition: uiGridConstants.filter.LESS_THAN,
placeholder: 'less than' placeholder: 'less than'
} }
] ],
aggregationType: uiGridConstants.aggregationTypes.sum,
width: '15%'
} }
] ]
} }
Expand Down

0 comments on commit 78c8a4f

Please sign in to comment.