Commit d2701ffe authored by Prayas Jain's avatar Prayas Jain

Fixed DATE Issue while Changing Allocation

parent 58397f07
...@@ -1245,9 +1245,11 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor ...@@ -1245,9 +1245,11 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
$scope.empBillableStatus = 'Reserved' ; $scope.empBillableStatus = 'Reserved' ;
$scope.billableStatuses = ["Reserved"]; $scope.billableStatuses = ["Reserved"];
$scope.minBillingStartDate = new Date(); $scope.newBillingStartDate = null;
$scope.maxBillingStartDate = new Date($scope.projectEndDate); $('.md-datepicker-input')[0].value = null;
$scope.maxBillingEndDate = new Date($scope.projectEndDate) $scope.minBillingStartDate = new Date();
$scope.maxBillingStartDate = new Date($scope.projectEndDate);
$scope.maxBillingEndDate = new Date($scope.projectEndDate)
} }
else if ($scope.empAllocationStatus == 'Engaged'){ else if ($scope.empAllocationStatus == 'Engaged'){
$scope.empBillableStatus = null ; //$scope.billableStatuses ; $scope.empBillableStatus = null ; //$scope.billableStatuses ;
......
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