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
4eb98a78
Commit
4eb98a78
authored
Sep 27, 2019
by
Prayas Jain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Reserved Report and Login Report Issue
parent
c7f42e06
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
21 deletions
+46
-21
ResourceService.java
...n/java/com/nisum/myteam/service/impl/ResourceService.java
+1
-0
AssignRolesController.js
src/main/webapp/WEB-INF/controllers/AssignRolesController.js
+3
-3
ProjectController.js
src/main/webapp/WEB-INF/controllers/ProjectController.js
+10
-10
custom-theme.css
src/main/webapp/WEB-INF/css/custom-theme.css
+17
-0
0_2019-09-27_2019-09-27.pdf
src/main/webapp/WEB-INF/reports/0_2019-09-27_2019-09-27.pdf
+0
-0
newRoleTemplate.html
src/main/webapp/WEB-INF/templates/newRoleTemplate.html
+15
-8
No files found.
src/main/java/com/nisum/myteam/service/impl/ResourceService.java
View file @
4eb98a78
...
...
@@ -968,6 +968,7 @@ public class ResourceService implements IResourceService {
List
<
ReserveReportsVO
>
reserveReportsList
=
new
ArrayList
<>();
if
(
resourcesList
!=
null
&&
resourcesList
.
size
()
>
0
)
{
resourcesList
=
resourcesList
.
stream
().
filter
(
r
->
isAllocationActiveToday
(
r
)).
collect
(
Collectors
.
toList
());
Project
project
=
null
;
for
(
Resource
resource
:
resourcesList
)
{
ReserveReportsVO
reserveReportsVO
=
new
ReserveReportsVO
();
...
...
src/main/webapp/WEB-INF/controllers/AssignRolesController.js
View file @
4eb98a78
...
...
@@ -23,7 +23,7 @@ myApp.controller("assignRoleController",function($scope, myFactory, $mdDialog, $
enableHorizontalScrollbar
:
1
,
columnDefs
:
[
{
field
:
'employeeId'
,
displayName
:
'EmpId'
,
enableColumnMenu
:
true
,
enableSorting
:
true
,
enableFiltering
:
true
,
width
:
'*'
,
cellClass
:
'grid-align'
},
{
field
:
'employeeName'
,
displayName
:
'Emp
loyee
Name'
,
enableColumnMenu
:
true
,
enableSorting
:
true
,
enableFiltering
:
true
,
cellClass
:
'grid-align'
,
width
:
'*'
},
{
field
:
'employeeName'
,
displayName
:
'Emp Name'
,
enableColumnMenu
:
true
,
enableSorting
:
true
,
enableFiltering
:
true
,
cellClass
:
'grid-align'
,
width
:
'*'
},
{
field
:
'mobileNumber'
,
displayName
:
'Mobile'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
enableFiltering
:
false
,
cellClass
:
'grid-align'
,
width
:
'*'
},
{
field
:
'empStatus'
,
displayName
:
'Status'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
enableFiltering
:
true
,
width
:
'*'
},
{
field
:
'empSubStatus.subStatus'
,
displayName
:
'Sub Status'
,
enableColumnMenu
:
false
,
enableSorting
:
true
,
enableFiltering
:
true
,
width
:
'*'
,
cellClass
:
function
(
grid
,
row
,
col
){
...
...
@@ -690,8 +690,8 @@ myApp.controller("assignRoleController",function($scope, myFactory, $mdDialog, $
$mdDialog
.
show
(
$mdDialog
.
confirm
({
skipHide
:
true
,
textContent
:
'Are you sure you want to cancel this?'
,
ok
:
'
ok
'
,
cancel
:
'
cancel
'
ok
:
'
Yes
'
,
cancel
:
'
No
'
})).
then
(
function
()
{
$mdDialog
.
hide
(
'Cancelled'
);
})
...
...
src/main/webapp/WEB-INF/controllers/ProjectController.js
View file @
4eb98a78
...
...
@@ -1737,8 +1737,8 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
$mdDialog
.
show
(
$mdDialog
.
confirm
({
skipHide
:
true
,
textContent
:
'Are you sure you want to cancel this?'
,
ok
:
'
ok
'
,
cancel
:
'
cancel
'
ok
:
'
Yes
'
,
cancel
:
'
No
'
})).
then
(
function
()
{
$mdDialog
.
hide
(
'Cancelled'
);
})
...
...
@@ -1748,8 +1748,8 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
$mdDialog
.
show
(
$mdDialog
.
confirm
({
skipHide
:
true
,
textContent
:
'Are you sure you want to cancel this?'
,
ok
:
'
ok
'
,
cancel
:
'
cancel
'
ok
:
'
Yes
'
,
cancel
:
'
No
'
})).
then
(
function
()
{
$mdDialog
.
hide
(
'Cancelled'
);
})
...
...
@@ -1767,8 +1767,8 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
$mdDialog
.
show
(
$mdDialog
.
confirm
({
skipHide
:
true
,
textContent
:
'Are you sure you want to cancel this?'
,
ok
:
'
ok
'
,
cancel
:
'
cancel
'
ok
:
'
Yes
'
,
cancel
:
'
No
'
})).
then
(
function
()
{
$mdDialog
.
hide
(
'Cancelled'
);
})
...
...
@@ -1824,8 +1824,8 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
$mdDialog
.
show
(
$mdDialog
.
confirm
({
skipHide
:
true
,
textContent
:
'Are you sure you want to cancel this?'
,
ok
:
'
ok
'
,
cancel
:
'
cancel
'
ok
:
'
Yes
'
,
cancel
:
'
No
'
})).
then
(
function
()
{
removeTab
(
"cancel"
);
$scope
.
myForm
.
$setPristine
();
...
...
@@ -1838,8 +1838,8 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
$mdDialog
.
show
(
$mdDialog
.
confirm
({
skipHide
:
true
,
textContent
:
'Are you sure you want to cancel this?'
,
ok
:
'
ok
'
,
cancel
:
'
cancel
'
ok
:
'
Yes
'
,
cancel
:
'
No
'
})).
then
(
function
()
{
removeTab
(
"cancel"
);
$scope
.
myForm
.
$setPristine
();
...
...
src/main/webapp/WEB-INF/css/custom-theme.css
View file @
4eb98a78
...
...
@@ -639,6 +639,23 @@ cursor: pointer;
.update-Teammate
.form-inline
{
margin-bottom
:
15px
;
}
.new-role-template
{
overflow
:
none
;
width
:
1500px
;
height
:
1200px
;
margin-left
:
1%
;
}
.new-role-dialog-content
{
overflow-x
:
hidden
;
overflow-y
:
auto
;
padding
:
15px
15px
0
15px
;
}
.new-role-template
.action-content
{
padding
:
0
;
}
.new-role-template
.error-msg
{
padding
:
0
;
}
.billable-table
{
margin-top
:
10px
;
}
...
...
src/main/webapp/WEB-INF/reports/0_2019-09-27_2019-09-27.pdf
0 → 100644
View file @
4eb98a78
File added
src/main/webapp/WEB-INF/templates/newRoleTemplate.html
View file @
4eb98a78
<md-dialog
aria-label=
"Role Template"
style=
"width:1500px;height:1200px; margin-left: 1%;"
>
<md-dialog
aria-label=
"Role Template"
class=
"new-role-template"
>
<form
ng-cloak
name=
"myForm"
>
<md-toolbar>
...
...
@@ -12,7 +11,7 @@
</div>
</md-toolbar>
<md-dialog-content
style=
"padding: 15px;
"
>
<md-dialog-content
class=
"new-role-dialog-content
"
>
<div
class=
"row"
>
<div
class=
"col-lg-4 col-md-4 col-sm-4 col-xs-12"
>
...
...
@@ -117,13 +116,13 @@
</tr>
<tr>
<!--
<tr>
<td colspan="12">
<div role="alert">
<span ng-if="errorMessage" class="error" style="color: red;">{{alertMsg}}</span>
</div>
</td>
</tr>
</tr>
-->
</table>
</div>
...
...
@@ -241,12 +240,20 @@
<!--row-->
</md-dialog-content>
<md-dialog-actions
layout=
"row"
>
<md-button
<md-dialog-actions
layout=
"row"
>
<div
role=
"alert"
class=
"col-sm-9 error-msg"
>
<span
ng-if=
"errorMessage"
class=
"error"
style=
"color: red; text-align:left;"
>
{{alertMsg}}
</span>
</div>
<div
class=
"col-sm-3 action-content"
>
<md-button
class=
"md-raised"
data-ng-click=
"validateFields(); button=true"
style=
"width:120px;background: cadetblue;color:white;"
>
{{templateTitle}}
</md-button>
<md-button
class=
"md-raised"
ng-click=
"cancel()"
{{templateTitle}}
</md-button>
<md-button
class=
"md-raised"
ng-click=
"cancel()"
style=
"width:120px;background: cadetblue;color:white;"
>
Cancel
</md-button>
</md-dialog-actions>
Cancel
</md-button>
</div>
</md-dialog-actions>
</form>
</md-dialog>
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