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
c3ac2705
Commit
c3ac2705
authored
Aug 01, 2018
by
dgoud-nisum-com
Committed by
rbonthala-nisum-com
Aug 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Defects fixed (#100)
parent
118e5bf3
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
125 additions
and
44 deletions
+125
-44
DomainController.js
src/main/webapp/WEB-INF/controllers/DomainController.js
+1
-1
ProjectController.js
src/main/webapp/WEB-INF/controllers/ProjectController.js
+24
-6
ProjectTeamController.js
src/main/webapp/WEB-INF/controllers/ProjectTeamController.js
+2
-2
assignAccountsController.js
...in/webapp/WEB-INF/controllers/assignAccountsController.js
+17
-8
UpdateTeamMate.html
src/main/webapp/WEB-INF/templates/UpdateTeamMate.html
+15
-6
newAccount.html
src/main/webapp/WEB-INF/templates/newAccount.html
+2
-2
newTeamMate.html
src/main/webapp/WEB-INF/templates/newTeamMate.html
+1
-1
projectTeamDetails.html
src/main/webapp/WEB-INF/templates/projectTeamDetails.html
+63
-18
No files found.
src/main/webapp/WEB-INF/controllers/DomainController.js
View file @
c3ac2705
...
@@ -247,7 +247,7 @@ myApp.controller("domainController",
...
@@ -247,7 +247,7 @@ myApp.controller("domainController",
if
(
$scope
.
employeeModel
.
length
<=
0
){
if
(
$scope
.
employeeModel
.
length
<=
0
){
return
"Please select a Delivery Lead"
;
return
"Please select a Delivery Lead"
;
}
}
return
"
Employees selected --->
"
+
$scope
.
employeeModel
.
length
;
return
"
Delivery Leads selected :
"
+
$scope
.
employeeModel
.
length
;
}
else
{
}
else
{
return
"Please select a Delivery Lead"
;
return
"Please select a Delivery Lead"
;
}
}
...
...
src/main/webapp/WEB-INF/controllers/ProjectController.js
View file @
c3ac2705
...
@@ -311,6 +311,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -311,6 +311,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
$scope
.
isSecondTab
=
false
;
$scope
.
isSecondTab
=
false
;
$scope
.
prjctStses
=
[
"Active"
,
"Completed"
,
"On Hold"
,
"Proposed"
];
$scope
.
prjctStses
=
[
"Active"
,
"Completed"
,
"On Hold"
,
"Proposed"
];
$scope
.
billableStatuses
=
[
"Billable"
,
"Shadow"
,
"Non-Billable"
,
"Reserved"
];
$scope
.
billableStatuses
=
[
"Billable"
,
"Shadow"
,
"Non-Billable"
,
"Reserved"
];
$scope
.
employeeShifts
=
myFactory
.
getShifts
();
var
allAccounts
=
myFactory
.
getAccounts
();
var
allAccounts
=
myFactory
.
getAccounts
();
function
getActiveAccounts
(){
function
getActiveAccounts
(){
var
activeAccounts
=
[];
var
activeAccounts
=
[];
...
@@ -351,6 +352,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -351,6 +352,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
$scope
.
newBillingStartDate
=
undefined
;
$scope
.
newBillingStartDate
=
undefined
;
$scope
.
startDate
=
undefined
;
$scope
.
startDate
=
undefined
;
$scope
.
endDate
=
undefined
;
$scope
.
endDate
=
undefined
;
$scope
.
employeeShift
=
undefined
;
$scope
.
employeeModel
=
{};
$scope
.
employeeModel
=
{};
$
(
'.md-datepicker-input'
)[
0
].
value
=
null
;
$
(
'.md-datepicker-input'
)[
0
].
value
=
null
;
$
(
'.md-datepicker-input'
)[
1
].
value
=
null
;
$
(
'.md-datepicker-input'
)[
1
].
value
=
null
;
...
@@ -368,6 +370,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -368,6 +370,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
$
(
'.md-select-value'
)[
0
].
childNodes
[
0
].
innerHTML
=
null
$
(
'.md-select-value'
)[
0
].
childNodes
[
0
].
innerHTML
=
null
$
(
'.md-select-value'
)[
1
].
childNodes
[
0
].
innerHTML
=
null
$
(
'.md-select-value'
)[
1
].
childNodes
[
0
].
innerHTML
=
null
$
(
'.md-select-value'
)[
2
].
childNodes
[
0
].
innerHTML
=
null
$
(
'.md-select-value'
)[
2
].
childNodes
[
0
].
innerHTML
=
null
$
(
'.md-select-value'
)[
3
].
childNodes
[
0
].
innerHTML
=
null
$
(
'.md-datepicker-input'
)[
0
].
value
=
null
;
$
(
'.md-datepicker-input'
)[
0
].
value
=
null
;
$
(
'.md-datepicker-input'
)[
1
].
value
=
null
;
$
(
'.md-datepicker-input'
)[
1
].
value
=
null
;
$
(
'.md-datepicker-input'
)[
2
].
value
=
null
;
$
(
'.md-datepicker-input'
)[
2
].
value
=
null
;
...
@@ -559,6 +562,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -559,6 +562,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
$scope
.
parentData
.
experience
=
row
.
entity
.
experience
;
$scope
.
parentData
.
experience
=
row
.
entity
.
experience
;
$scope
.
parentData
.
designation
=
row
.
entity
.
designation
;
$scope
.
parentData
.
designation
=
row
.
entity
.
designation
;
$scope
.
parentData
.
billableStatus
=
row
.
entity
.
billableStatus
;
$scope
.
parentData
.
billableStatus
=
row
.
entity
.
billableStatus
;
$scope
.
parentData
.
shift
=
row
.
entity
.
shift
;
$scope
.
parentData
.
mobileNumber
=
row
.
entity
.
mobileNumber
;
$scope
.
parentData
.
mobileNumber
=
row
.
entity
.
mobileNumber
;
$scope
.
parentData
.
employeeModel
=
{}
$scope
.
parentData
.
employeeModel
=
{}
$scope
.
parentData
.
newBillingStartDate
=
row
.
entity
.
newBillingStartDate
;
$scope
.
parentData
.
newBillingStartDate
=
row
.
entity
.
newBillingStartDate
;
...
@@ -582,9 +586,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -582,9 +586,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
//
//
// $scope.ViewBillability(action, $scope.parentData);
// $scope.ViewBillability(action, $scope.parentData);
//
//
// }
// }
}
}
document
.
addEventListener
(
"DOMSubtreeModified"
,
function
(
e
)
{
document
.
addEventListener
(
"DOMSubtreeModified"
,
function
(
e
)
{
if
(
document
.
getElementsByClassName
(
"md-tab"
)[
1
]
&&
(
document
.
getElementsByClassName
(
"md-tab"
)[
1
].
style
.
visibility
===
""
)){
if
(
document
.
getElementsByClassName
(
"md-tab"
)[
1
]
&&
(
document
.
getElementsByClassName
(
"md-tab"
)[
1
].
style
.
visibility
===
""
)){
...
@@ -603,6 +605,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -603,6 +605,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
document
.
getElementsByClassName
(
"md-tab"
)[
2
].
style
.
visibility
=
"visible"
;
document
.
getElementsByClassName
(
"md-tab"
)[
2
].
style
.
visibility
=
"visible"
;
$scope
.
selectedTab
=
2
;
$scope
.
selectedTab
=
2
;
$scope
.
searchTerm
=
""
;
$scope
.
searchTerm
=
""
;
$scope
.
alertMsg
=
""
;
// }
// }
};
};
$scope
.
updateTeamMate
=
function
(
action
,
userData
){
$scope
.
updateTeamMate
=
function
(
action
,
userData
){
...
@@ -621,6 +624,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -621,6 +624,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
// $scope.employeeModel.emailId = userData.emailId;
// $scope.employeeModel.emailId = userData.emailId;
$scope
.
empBillableStatus
=
userData
.
billableStatus
;
$scope
.
empBillableStatus
=
userData
.
billableStatus
;
$scope
.
employeeRole
=
userData
.
role
;
$scope
.
employeeRole
=
userData
.
role
;
$scope
.
employeeShift
=
userData
.
shift
;
$scope
.
newBillingStartDate
=
new
Date
(
userData
.
newBillingStartDate
);
$scope
.
newBillingStartDate
=
new
Date
(
userData
.
newBillingStartDate
);
$scope
.
startDate
=
new
Date
(
userData
.
startDate
);
$scope
.
startDate
=
new
Date
(
userData
.
startDate
);
$scope
.
endDate
=
new
Date
(
userData
.
endDate
);
$scope
.
endDate
=
new
Date
(
userData
.
endDate
);
...
@@ -977,6 +981,9 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -977,6 +981,9 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
}
else
if
(
$scope
.
employeeRole
==
undefined
){
}
else
if
(
$scope
.
employeeRole
==
undefined
){
$scope
.
alertMsg
=
"Please select a employee role"
;
$scope
.
alertMsg
=
"Please select a employee role"
;
angular
.
element
(
document
.
getElementById
(
'empRole'
)).
focus
();
angular
.
element
(
document
.
getElementById
(
'empRole'
)).
focus
();
}
else
if
(
$scope
.
employeeShift
==
undefined
){
$scope
.
alertMsg
=
"Please select a employee shift"
;
angular
.
element
(
document
.
getElementById
(
'empShift'
)).
focus
();
}
}
else
if
(
$scope
.
empBillableStatus
==
undefined
){
else
if
(
$scope
.
empBillableStatus
==
undefined
){
$scope
.
alertMsg
=
"Please select a billable status"
;
$scope
.
alertMsg
=
"Please select a billable status"
;
...
@@ -991,9 +998,12 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -991,9 +998,12 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
$scope
.
alertMsg
=
"Please select new Billing StartDate"
;
$scope
.
alertMsg
=
"Please select new Billing StartDate"
;
angular
.
element
(
document
.
getElementById
(
'newBillingStartDate'
)).
focus
();
angular
.
element
(
document
.
getElementById
(
'newBillingStartDate'
)).
focus
();
}
}
else
if
(
$scope
.
newBillingStartDate
>
$scope
.
endDate
){
else
if
(
action
==
"Add"
&&
(
$scope
.
newBillingStartDate
>
$scope
.
endDate
)
){
$scope
.
alertMsg
=
"Assignment End Date should be less than
Current
Billability Start Date "
;
$scope
.
alertMsg
=
"Assignment End Date should be less than
New
Billability Start Date "
;
}
}
else
if
(
action
==
"Update"
&&
(
$scope
.
endDate
<
$scope
.
startDate
<
$scope
.
newBillingStartDate
)){
$scope
.
alertMsg
=
"EndDate should be greater than StartDate and new BillingStartDate "
;
}
else
if
(
employeeModel
!=
undefined
&&
projectModel
!=
undefined
&&
action
==
"Add"
else
if
(
employeeModel
!=
undefined
&&
projectModel
!=
undefined
&&
action
==
"Add"
&&
getExistingRecordProjectStatus
(
employeeModel
.
employeeId
,
projectModel
.
projectName
)){
&&
getExistingRecordProjectStatus
(
employeeModel
.
employeeId
,
projectModel
.
projectName
)){
$scope
.
alertMsg
=
"Employee is already assigned to the selected project"
;
$scope
.
alertMsg
=
"Employee is already assigned to the selected project"
;
...
@@ -1001,7 +1011,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -1001,7 +1011,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
}
}
else
{
else
{
$scope
.
alertMsg
=
""
;
$scope
.
alertMsg
=
""
;
var
record
=
{
"employeeId"
:
employeeModel
.
employeeId
,
"employeeName"
:
employeeModel
.
employeeName
,
"emailId"
:
employeeModel
.
emailId
,
"designation"
:
employeeModel
.
designation
,
"projectId"
:
project
,
"projectName"
:
projectName
,
"managerId"
:
managerId
,
"managerName"
:
managerName
,
"mobileNumber"
:
employeeModel
.
mobileNumber
,
"active"
:
true
,
"billableStatus"
:
$scope
.
empBillableStatus
,
"startDate"
:
$scope
.
startDate
,
"endDate"
:
$scope
.
endDate
,
"account"
:
account
,
"role"
:
$scope
.
employeeRole
,
"newBillingStartDate"
:
newBillingStartDate
,
"accountId"
:
$scope
.
accountId
,
"domainId"
:
$scope
.
domainId
};
var
record
=
{
"employeeId"
:
employeeModel
.
employeeId
,
"employeeName"
:
employeeModel
.
employeeName
,
"emailId"
:
employeeModel
.
emailId
,
"designation"
:
employeeModel
.
designation
,
"projectId"
:
project
,
"projectName"
:
projectName
,
"managerId"
:
managerId
,
"managerName"
:
managerName
,
"mobileNumber"
:
employeeModel
.
mobileNumber
,
"active"
:
true
,
"billableStatus"
:
$scope
.
empBillableStatus
,
"startDate"
:
$scope
.
startDate
,
"endDate"
:
$scope
.
endDate
,
"account"
:
account
,
"role"
:
$scope
.
employeeRole
,
"newBillingStartDate"
:
newBillingStartDate
,
"accountId"
:
$scope
.
accountId
,
"domainId"
:
$scope
.
domainId
,
"shift"
:
$scope
.
employeeShift
};
if
(
action
==
"Add"
){
if
(
action
==
"Add"
){
addRecord
(
record
,
action
);
addRecord
(
record
,
action
);
$timeout
(
function
(){
$timeout
(
function
(){
...
@@ -1189,6 +1199,14 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -1189,6 +1199,14 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
return
"Please select a employee role"
;
return
"Please select a employee role"
;
}
}
}
}
$scope
.
getSelectedEmpShift
=
function
(){
if
(
$scope
.
employeeShift
!=
undefined
)
{
return
$scope
.
employeeShift
;
}
else
{
return
"Please select a employee shift"
;
}
}
// $scope.getProjectSelected = function(){
// $scope.getProjectSelected = function(){
// if ($scope.projectModel !== undefined) {
// if ($scope.projectModel !== undefined) {
// $scope.project=$scope.projectModel;
// $scope.project=$scope.projectModel;
...
...
src/main/webapp/WEB-INF/controllers/ProjectTeamController.js
View file @
c3ac2705
...
@@ -295,7 +295,7 @@ myApp.controller("projectTeamController",function($scope, myFactory, $mdDialog,
...
@@ -295,7 +295,7 @@ myApp.controller("projectTeamController",function($scope, myFactory, $mdDialog,
function
AddProjectTeamController
(
$scope
,
$mdDialog
,
dataToPass
,
gridOptionsData
,
employees
)
{
function
AddProjectTeamController
(
$scope
,
$mdDialog
,
dataToPass
,
gridOptionsData
,
employees
)
{
$scope
.
searchTerm
=
""
;
$scope
.
searchTerm
=
""
;
$scope
.
roles
=
[
{
"roleName"
:
"Employee"
},{
"roleName"
:
"Lead"
}
];
$scope
.
roles
=
[
"Employee"
,
"Lead"
];
$scope
.
updateSearch
=
function
(
e
){
$scope
.
updateSearch
=
function
(
e
){
e
.
stopPropagation
();
e
.
stopPropagation
();
}
}
...
@@ -632,7 +632,7 @@ myApp.controller("projectTeamController",function($scope, myFactory, $mdDialog,
...
@@ -632,7 +632,7 @@ myApp.controller("projectTeamController",function($scope, myFactory, $mdDialog,
};
};
$scope
.
getSelectedRole
=
function
(){
$scope
.
getSelectedRole
=
function
(){
if
(
$scope
.
role
!=
undefined
){
if
(
$scope
.
role
!=
undefined
){
return
$scope
.
role
.
roleName
;
return
$scope
.
role
;
}
}
else
{
else
{
return
"Please select the role"
;
return
"Please select the role"
;
...
...
src/main/webapp/WEB-INF/controllers/assignAccountsController.js
View file @
c3ac2705
...
@@ -275,17 +275,26 @@ myApp.controller("assignAccountsController",function($scope, myFactory, $mdDialo
...
@@ -275,17 +275,26 @@ myApp.controller("assignAccountsController",function($scope, myFactory, $mdDialo
$scope
.
managersSelectedList
.
splice
(
index
,
1
);
$scope
.
managersSelectedList
.
splice
(
index
,
1
);
}
}
$scope
.
getSelectedLead
=
function
(){
$scope
.
getSelectedLead
=
function
(){
$scope
.
managersSelectedList
.
forEach
(
function
(
manager
){
if
(
$scope
.
managersSelectedList
!=
undefined
)
{
$scope
.
selectedEmployeeNames
.
push
(
manager
.
employeeName
);
if
(
$scope
.
managersSelectedList
.
length
<=
0
){
removeDuplicates
(
$scope
.
selectedEmployeeNames
);
return
"Please select Delivery Manager"
;
if
(
!
$scope
.
employeeInTeam
.
includes
(
manager
.
employeeId
)){
$scope
.
employeeInTeam
.
push
(
manager
.
employeeId
)
;
}
}
})
return
"Delivery Managers selected : "
+
$scope
.
managersSelectedList
.
length
;
}
else
{
return
"Please select Delivery Manager"
;
}
}
$scope
.
persistSelections
=
function
(){
$scope
.
managersSelectedList
.
forEach
(
function
(
manager
){
$scope
.
selectedEmployeeNames
.
push
(
manager
.
employeeName
);
removeDuplicates
(
$scope
.
selectedEmployeeNames
);
if
(
!
$scope
.
employeeInTeam
.
includes
(
manager
.
employeeId
)){
$scope
.
employeeInTeam
.
push
(
manager
.
employeeId
)
;
}
})
}
}
$scope
.
getIndustryTypeSelected
=
function
(){
$scope
.
getIndustryTypeSelected
=
function
(){
if
(
$scope
.
industryType
!=
=
undefined
)
{
if
(
$scope
.
industryType
!=
""
)
{
$scope
.
industryType
=
$scope
.
industryType
;
$scope
.
industryType
=
$scope
.
industryType
;
return
$scope
.
industryType
;
return
$scope
.
industryType
;
}
else
{
}
else
{
...
...
src/main/webapp/WEB-INF/templates/UpdateTeamMate.html
View file @
c3ac2705
...
@@ -26,6 +26,10 @@
...
@@ -26,6 +26,10 @@
<md-optgroup
label=
"Project"
>
<md-option
<md-optgroup
label=
"Project"
>
<md-option
ng-value=
"project"
ng-repeat=
"project in projectList"
>
{{project.projectName}}
</md-option>
ng-value=
"project"
ng-repeat=
"project in projectList"
>
{{project.projectName}}
</md-option>
</md-optgroup>
</md-select>
</md-optgroup>
</md-select>
<md-select
ng-model=
"role"
md-selected-text=
"getSelectedRole()"
id=
"role"
>
<md-optgroup
label=
"roles"
>
<md-option
ng-value=
"role"
ng-repeat=
"role in roles"
>
{{role}}
</md-option>
</md-optgroup>
</md-select>
<md-select
ng-model=
"shift"
md-selected-text=
"getSelectedShift()"
id=
"empShift"
>
<md-select
ng-model=
"shift"
md-selected-text=
"getSelectedShift()"
id=
"empShift"
>
<md-optgroup
label=
"shifts"
>
<md-option
ng-value=
"shift"
<md-optgroup
label=
"shifts"
>
<md-option
ng-value=
"shift"
ng-repeat=
"shift in shifts"
>
{{shift}}
</md-option>
</md-optgroup>
</md-select>
ng-repeat=
"shift in shifts"
>
{{shift}}
</md-option>
</md-optgroup>
</md-select>
...
@@ -35,21 +39,26 @@
...
@@ -35,21 +39,26 @@
<md-select
ng-model=
"empBillableStatus"
md-selected-text=
"getSelectedBillableStatus()"
id=
"empBillableStatus"
>
<md-select
ng-model=
"empBillableStatus"
md-selected-text=
"getSelectedBillableStatus()"
id=
"empBillableStatus"
>
<md-optgroup
label=
"billable statuses"
>
<md-option
ng-value=
"billableStatus"
<md-optgroup
label=
"billable statuses"
>
<md-option
ng-value=
"billableStatus"
ng-repeat=
"billableStatus in billableStatuses"
>
{{billableStatus}}
</md-option>
</md-optgroup>
</md-select>
ng-repeat=
"billableStatus in billableStatuses"
>
{{billableStatus}}
</md-option>
</md-optgroup>
</md-select>
<div
ng-show=
"empBillableStatus"
>
<div
ng-show=
"empBillableStatus"
>
<output>
Current Billability Start Date :
<
output>
Current Billability Start Date :
<
md-datepicker
ng-model=
"newBillingStartDate"
md-placeholder=
"Please Select Date"
id =
"newBillingStartDate"
<md-datepicker
ng-model=
"newBillingStartDate"
md-placeholder=
"Please Select Date"
id =
"newBillingStartDate"
md-min-date=
"minDate"
md-max-date=
"maxDate"
md-min-date=
"minDate"
md-max-date=
"maxDate"
onkeydown=
"return false"
onkeydown=
"return false"
></md-datepicker></br></output>
></md-datepicker>
</output>
</div>
</div>
<output>
Assignment StartDate :
<md-datepicker
ng-model=
"startDate"
md-placeholder=
"Start Date"
<md-datepicker
ng-model=
"startDate"
md-placeholder=
"Start Date"
md-min-date=
"minDate"
md-max-date=
"maxDate"
md-min-date=
"minDate"
md-max-date=
"maxDate"
onkeydown=
"return false"
onkeydown=
"return false"
></md-datepicker>
></md-datepicker></output>
<md-datepicker
ng-model=
"endDate"
md-placeholder=
"Projected End Date"
<output>
Assignment EndDate :
<md-datepicker
ng-model=
"endDate"
md-placeholder=
"Project End Date"
md-min-date=
"minDate"
md-max-date=
"maxDate"
md-min-date=
"minDate"
md-max-date=
"maxDate"
onkeydown=
"return false"
onkeydown=
"return false"
></md-datepicker>
></md-datepicker>
</output>
<!-- <input type="text" class="form-control" id="experience"
<!-- <input type="text" class="form-control" id="experience"
name="experience" ng-model="experience" placeholder="Experience" /><br>
name="experience" ng-model="experience" placeholder="Experience" /><br>
<input type="text" class="form-control" id="mobileNumber"
<input type="text" class="form-control" id="mobileNumber"
...
...
src/main/webapp/WEB-INF/templates/newAccount.html
View file @
c3ac2705
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<b
>
Client Address
</b></td>
<b
>
Client Address
</b></td>
<td
colspan=
"8"
>
<td
colspan=
"8"
>
<!-- <md-input-container class="md-block"> -->
<!-- <md-input-container class="md-block"> -->
<textarea
ng-model=
"clientAddress"
id=
"clientAddress"
style=
"width:100%"
md-select-on-focus
></textarea>
<textarea
ng-model=
"clientAddress"
id=
"clientAddress"
placeholder =
"Please enter the client address"
style=
"width:100%"
md-select-on-focus
></textarea>
<!-- </md-input-container> -->
<!-- </md-input-container> -->
</td>
</td>
</tr>
</tr>
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</div>
</div>
</div>
</div>
<div
style=
"display: block; float: left; width: 100%;"
>
<div
style=
"display: block; float: left; width: 100%;"
>
<md-select
ng-model=
"managersSelectedList"
data-md-container-class=
"selectHeader"
id=
"selectManager"
multiple=
""
md-selected-text=
"getSelectedLead()"
>
<md-select
ng-model=
"managersSelectedList"
data-md-container-class=
"selectHeader"
id=
"selectManager"
multiple=
""
md-selected-text=
"getSelectedLead()"
ng-change=
"persistSelections()"
>
<md-select-header
class=
"selectHeaderChild header-spacing"
layout=
"column"
>
<md-select-header
class=
"selectHeaderChild header-spacing"
layout=
"column"
>
<input
ng-model=
"searchTerm"
type=
"search"
id=
"search"
ng-keydown=
"updateSearch($event)"
ng-model-options=
"{debounce: {'default': 500, 'blur': 0}}"
placeholder=
"Please Search for a manager"
class=
"searchBoxHeader demo-header-searchbox md-text search-spacingleft"
/>
<input
ng-model=
"searchTerm"
type=
"search"
id=
"search"
ng-keydown=
"updateSearch($event)"
ng-model-options=
"{debounce: {'default': 500, 'blur': 0}}"
placeholder=
"Please Search for a manager"
class=
"searchBoxHeader demo-header-searchbox md-text search-spacingleft"
/>
<span
class=
"glyphicon glyphicon-remove close-mdselect"
ng-click=
"closeSelectBox()"
></span>
<span
class=
"glyphicon glyphicon-remove close-mdselect"
ng-click=
"closeSelectBox()"
></span>
...
...
src/main/webapp/WEB-INF/templates/newTeamMate.html
View file @
c3ac2705
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
id=
"shift"
>
<md-optgroup
id=
"shift"
>
<md-optgroup
label=
"role"
>
<md-option
label=
"role"
>
<md-option
ng-value=
"role"
ng-value=
"role"
ng-repeat=
"role in roles"
>
{{role
.roleName
}}
</md-option>
ng-repeat=
"role in roles"
>
{{role}}
</md-option>
</md-optgroup>
</md-select>
</md-optgroup>
</md-select>
<md-select
ng-model=
"shift"
<md-select
ng-model=
"shift"
...
...
src/main/webapp/WEB-INF/templates/projectTeamDetails.html
View file @
c3ac2705
...
@@ -95,22 +95,43 @@
...
@@ -95,22 +95,43 @@
ng-value=
"empRole"
ng-value=
"empRole"
ng-repeat=
"empRole in employeeRoles"
>
{{empRole}}
</md-option>
ng-repeat=
"empRole in employeeRoles"
>
{{empRole}}
</md-option>
</md-optgroup>
</md-select>
</md-optgroup>
</md-select>
<md-select
ng-model=
"employeeShift"
md-selected-text=
"getSelectedEmpShift()"
id=
"empShift"
>
<md-optgroup
label=
"employee shift"
>
<md-option
ng-value=
"empShift"
ng-repeat=
"empShift in employeeShifts"
>
{{empShift}}
</md-option>
</md-optgroup>
</md-select>
<md-select
ng-model=
"empBillableStatus "
md-selected-text=
"getSelectedBillableStatus() "
id=
"empBillableStatus"
name=
"empBillableStatus"
>
<md-select
ng-model=
"empBillableStatus "
md-selected-text=
"getSelectedBillableStatus() "
id=
"empBillableStatus"
name=
"empBillableStatus"
>
<md-optgroup
label=
"billable statuses "
>
<md-optgroup
label=
"billable statuses "
>
<md-option
ng-value=
"billableStatus "
ng-repeat=
"billableStatus in billableStatuses "
>
{{billableStatus}}
</md-option>
<md-option
ng-value=
"billableStatus "
ng-repeat=
"billableStatus in billableStatuses "
>
{{billableStatus}}
</md-option>
</md-optgroup>
</md-optgroup>
</md-select>
</md-select>
<div
ng-show=
"empBillableStatus"
>
<table>
<md-datepicker
ng-model=
"newBillingStartDate"
md-placeholder=
"newBillingStartDate "
id=
"newBillingStartDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
<tr
ng-show=
"empBillableStatus"
>
<td>
Current Billability Start Date
</td>
<td>
<md-datepicker
ng-model=
"newBillingStartDate"
md-placeholder=
"Plase select Date "
id=
"newBillingStartDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
onkeydown=
"return false "
ng-change=
"currentBillabilityDateChange()"
name=
"newBillingStartDate"
></md-datepicker>
onkeydown=
"return false "
ng-change=
"currentBillabilityDateChange()"
name=
"newBillingStartDate"
></md-datepicker>
</div>
</td>
</tr>
<md-datepicker
ng-model=
"startDate "
md-placeholder=
"Start Date "
id=
"startDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
<tr>
<td>
Start Date
</td>
<td>
<md-datepicker
ng-model=
"startDate "
md-placeholder=
"Please select Date "
id=
"startDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
onkeydown=
"return false "
ng-disabled=
"newBillingStartDate"
name=
"startDate"
></md-datepicker>
onkeydown=
"return false "
ng-disabled=
"newBillingStartDate"
name=
"startDate"
></md-datepicker>
</br>
</td>
<md-datepicker
ng-model=
"endDate "
md-placeholder=
"Projected End Date "
id=
"endDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
</tr>
<tr>
<td>
End Date
&
nbsp
</td>
<td>
<md-datepicker
ng-model=
"endDate "
md-placeholder=
"Please select Date "
id=
"endDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
onkeydown=
"return false "
name=
"endDate"
></md-datepicker>
onkeydown=
"return false "
name=
"endDate"
></md-datepicker>
</td>
</tr>
</table>
<div
role=
"alert "
>
<div
role=
"alert "
>
<span
class=
"error "
style=
"color: red; "
>
{{alertMsg}}
</span>
<span
class=
"error "
style=
"color: red; "
>
{{alertMsg}}
</span>
...
@@ -175,23 +196,47 @@
...
@@ -175,23 +196,47 @@
ng-value=
"empRole"
ng-value=
"empRole"
ng-repeat=
"empRole in employeeRoles"
>
{{empRole}}
</md-option>
ng-repeat=
"empRole in employeeRoles"
>
{{empRole}}
</md-option>
</md-optgroup>
</md-select>
</md-optgroup>
</md-select>
<md-select
ng-model=
"employeeShift"
md-selected-text=
"getSelectedEmpShift()"
id=
"empShift"
>
<md-optgroup
label=
"employee shift"
>
<md-option
ng-value=
"empShift"
ng-repeat=
"empShift in employeeShifts"
>
{{empShift}}
</md-option>
</md-optgroup>
</md-select>
<md-select
ng-model=
"empBillableStatus "
md-selected-text=
"getSelectedBillableStatus() "
id=
"empBillableStatus"
name=
"empBillableStatus"
>
<md-select
ng-model=
"empBillableStatus "
md-selected-text=
"getSelectedBillableStatus() "
id=
"empBillableStatus"
name=
"empBillableStatus"
>
<md-optgroup
label=
"billable statuses "
>
<md-optgroup
label=
"billable statuses "
>
<md-option
ng-value=
"billableStatus "
ng-repeat=
"billableStatus in billableStatuses "
>
{{billableStatus}}
</md-option>
<md-option
ng-value=
"billableStatus "
ng-repeat=
"billableStatus in billableStatuses "
>
{{billableStatus}}
</md-option>
</md-optgroup>
</md-optgroup>
</md-select>
</md-select>
<div
ng-show=
"empBillableStatus"
>
<md-datepicker
ng-model=
"newBillingStartDate"
md-placeholder=
"newBillingStartDate "
id=
"newBillingStartDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
onkeydown=
"return false "
ng-change=
"currentBillabilityDateChange()"
name=
"newBillingStartDate"
></md-datepicker>
</div>
<md-datepicker
ng-model=
"startDate "
md-placeholder=
"Start Date "
id=
"startDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
<table>
onkeydown=
"return false "
ng-disabled=
"newBillingStartDate"
name=
"startDate"
></md-datepicker>
<tr
ng-show=
"empBillableStatus"
>
</br>
<td>
Current Billability Start Date
</td>
<md-datepicker
ng-model=
"endDate "
md-placeholder=
"Projected End Date "
id=
"endDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
<td>
onkeydown=
"return false "
name=
"endDate"
></md-datepicker>
<md-datepicker
ng-model=
"newBillingStartDate"
md-placeholder=
"Please select Date "
id=
"newBillingStartDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
onkeydown=
"return false"
name=
"newBillingStartDate"
></md-datepicker>
</td>
</tr>
<tr>
<td>
Start Date
</td>
<td>
<md-datepicker
ng-model=
"startDate "
md-placeholder=
"Please select Date"
id=
"startDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
onkeydown=
"return false "
name=
"startDate"
></md-datepicker>
</td>
</tr>
<tr>
<td>
End Date
&
nbsp
</td>
<td>
<md-datepicker
ng-model=
"endDate "
md-placeholder=
"Please select Date"
id=
"endDate "
md-min-date=
"minDate "
md-max-date=
"maxDate "
onkeydown=
"return false "
name=
"endDate"
></md-datepicker>
</td>
</tr>
</table>
<div
role=
"alert "
>
<div
role=
"alert "
>
<span
class=
"error "
style=
"color: red; "
>
{{alertMsg}}
</span>
<span
class=
"error "
style=
"color: red; "
>
{{alertMsg}}
</span>
...
...
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