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
$scope.empBillableStatus = 'Reserved' ;
$scope.billableStatuses = ["Reserved"];
$scope.minBillingStartDate = new Date();
$scope.maxBillingStartDate = new Date($scope.projectEndDate);
$scope.maxBillingEndDate = new Date($scope.projectEndDate)
$scope.newBillingStartDate = null;
$('.md-datepicker-input')[0].value = null;
$scope.minBillingStartDate = new Date();
$scope.maxBillingStartDate = new Date($scope.projectEndDate);
$scope.maxBillingEndDate = new Date($scope.projectEndDate)
}
else if ($scope.empAllocationStatus == 'Engaged'){
$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