Commit 17c3b6dc by peema_phongam

aps check form

parent 796a8b7f
...@@ -83,7 +83,7 @@ angular.module('APS_INTERVIEW').controller('InterviewForm', ['$scope', '$http', ...@@ -83,7 +83,7 @@ angular.module('APS_INTERVIEW').controller('InterviewForm', ['$scope', '$http',
RecService.RestMcandidate.getQuery({id: $scope.candidateid}).$promise.then(function (data){ RecService.RestMcandidate.getQuery({id: $scope.candidateid}).$promise.then(function (data){
$scope.candidate = data.result; $scope.candidate = data.result;
if ($scope.candidate.other.hasOwnProperty('apsform') && $scope.candidate.other.form) { if ($scope.candidate.other.hasOwnProperty('apsform') && $scope.candidate.other.apsform) {
$scope.formdata = $scope.candidate.other.apsform $scope.formdata = $scope.candidate.other.apsform
} else { } else {
$scope.formdata.apsdate = new Date() $scope.formdata.apsdate = new Date()
......
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