Commit 2c553eb6 authored by Prayas Jain's avatar Prayas Jain

Updated_update_Teammate

parent 1dc242d6
...@@ -771,6 +771,12 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor ...@@ -771,6 +771,12 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
$scope.id = row.id; $scope.id = row.id;
if(action == 'Update'){ if(action == 'Update'){
$scope.validateFields(action); $scope.validateFields(action);
if($scope.alertMsg != ""){
row.billingStartDate = $scope.parentData.newBillingStartDate;
row.billingEndDate = $scope.parentData.endDate;
row.resourceRole = $scope.parentData.role;
row.billableStatus = $scope.parentData.billableStatus;
}
} }
} }
// $scope.getRowData = function(row, action){ // $scope.getRowData = function(row, action){
......
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