databook add details staff screen date formate changes : kdk

This commit is contained in:
dineshkumarkannan 2018-06-27 17:39:39 +05:30
parent 7aa2b61e93
commit 4a1cf4667f

View File

@ -335,7 +335,7 @@ $scope.dayBookApprovalAccess = '';
// swal("The form cannot be submitted because it contains validation errors!", "Errors are marked with a red, dashed border!", "error");
} else {
$scope.disableAddButton = true;
var sdate= $('#datere').val();
var sdate= $('#date').val();
var formate = "dd-MM-yyyy";
$scope.myModelAdd.date= sdate;
//$scope.myModelAdd.date = $filter('date')(new Date($scope.myModelAdd.date), formate);