Commit 50f731ef authored by Soumya Gouri's avatar Soumya Gouri

Updated_Project_Controller

parent 97a6eb66
......@@ -1325,8 +1325,10 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
var managerName=$scope.managerName;
var employeeModel = $scope.employeeModel;
var projectModel = $scope.projectModel;
var newBillingStartDate = $scope.newBillingStartDate
var newBillingStartDate = $scope.newBillingStartDate;
if(action == 'Update'){
$scope.employeeRole == 'Lead' ? $scope.employeeRole ='Lead' : $scope.employeeRole = 'Employee';
}
if(action === "Add" || action =="Update"){
if(employeeModel == undefined || employeeModel.employeeName == undefined){
$scope.alertMsg = "Please select a employee";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment