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
1b7b1834
Unverified
Commit
1b7b1834
authored
Sep 04, 2018
by
mshaik-nisum-com
Committed by
GitHub
Sep 04, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #181 from nisum-inc/FEATURE/Controller_Change_LoginReport_BasedOnTime
MT-175: Updated the overrideURL
parents
8721d24c
08f7a5aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ReportsController.js
src/main/webapp/WEB-INF/controllers/ReportsController.js
+1
-1
No files found.
src/main/webapp/WEB-INF/controllers/ReportsController.js
View file @
1b7b1834
...
...
@@ -200,7 +200,7 @@ myApp.controller("reportsController", function($scope, $http, myFactory, $mdDial
empId
=
data
.
empId
;
}
var
defaultURL
=
appConfig
.
appUri
+
"attendance/generatePdfReport/"
+
empId
+
"/"
+
data
.
fromDate
+
"/"
+
data
.
toDate
;
var
overrideURL
=
appConfig
.
appUri
+
"
/attendance/employeeLoginReportBasedOnDateTime/"
+
data
.
fromTime
+
"/
"
+
data
.
toTime
;
var
overrideURL
=
appConfig
.
appUri
+
"
attendance/employeeLoginReportBasedOnDateTime?empId="
+
empId
+
"&fromDate="
+
data
.
fromDate
+
"&toDate="
+
data
.
toDate
+
"&fromTime="
+
data
.
fromTime
+
"&toTime=
"
+
data
.
toTime
;
var
url
=
data
.
isOverride
?
overrideURL
:
defaultURL
;
$http
({
method
:
"GET"
,
...
...
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