Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mytime
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Narendar Vakiti
mytime
Commits
7d429dda
Commit
7d429dda
authored
May 06, 2019
by
Prayas Jain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dashboard controller updated
parent
e8fb3db6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
DashboardController.js
src/main/webapp/WEB-INF/controllers/DashboardController.js
+4
-4
No files found.
src/main/webapp/WEB-INF/controllers/DashboardController.js
View file @
7d429dda
...
...
@@ -187,8 +187,8 @@ myApp.controller("dashboardController", function($scope, $http, myFactory,export
{
field
:
'account'
,
displayName
:
'Account'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
minWidth
:
100
,
width
:
150
},
{
field
:
'managerName'
,
displayName
:
'Manager Name'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
minWidth
:
100
,
width
:
150
},
{
field
:
'billableStatus'
,
displayName
:
'Billability'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
minWidth
:
100
,
width
:
150
},
{
field
:
'
s
tartDate'
,
displayName
:
'Start Date'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
cellFilter
:
'date:"dd-MMM-yyyy"'
,
minWidth
:
100
,
width
:
150
},
{
field
:
'
e
ndDate'
,
displayName
:
'End Date'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
cellFilter
:
'date:"dd-MMM-yyyy"'
,
minWidth
:
100
,
width
:
150
},
{
field
:
'
projectS
tartDate'
,
displayName
:
'Start Date'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
cellFilter
:
'date:"dd-MMM-yyyy"'
,
minWidth
:
100
,
width
:
150
},
{
field
:
'
projectE
ndDate'
,
displayName
:
'End Date'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
cellFilter
:
'date:"dd-MMM-yyyy"'
,
minWidth
:
100
,
width
:
150
},
{
field
:
'active'
,
displayName
:
'Active'
,
enableColumnMenu
:
false
,
cellTemplate
:
getCellActiveTemplate
,
enableSorting
:
false
,
minWidth
:
100
,
width
:
150
}
]
};
...
...
@@ -268,7 +268,7 @@ myApp.controller("dashboardController", function($scope, $http, myFactory,export
}).
then
(
function
mySuccess
(
response
)
{
//alert("response"+response);
// alert("response"+response.data);
$scope
.
gridOptionsProjectAllocatons
.
data
=
response
.
data
;
$scope
.
gridOptionsProjectAllocatons
.
data
=
response
.
data
.
records
;
},
function
myError
(
response
)
{
showAlert
(
"Something went wrong while fetching data!!!"
);
});
...
...
@@ -278,7 +278,7 @@ myApp.controller("dashboardController", function($scope, $http, myFactory,export
}).
then
(
function
mySuccess
(
response
)
{
//alert("response"+response);
// alert("response"+response.data);
$scope
.
gridOptionsEmpLocationDetails
.
data
=
response
.
data
;
$scope
.
gridOptionsEmpLocationDetails
.
data
=
response
.
data
.
records
;
},
function
myError
(
response
)
{
showAlert
(
"Something went wrong while fetching data!!!"
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment