student doc pending
This commit is contained in:
parent
cba4708dcd
commit
356b1b9cae
@ -1360,8 +1360,8 @@ app.controller('studentCtrl', ["$scope", "toaster", "$filter", "ngTableParams",
|
||||
submit: function (form, myModelAddPendingDocDetails, stuID) {
|
||||
|
||||
|
||||
// alert('in');
|
||||
// return false;
|
||||
alert('in');
|
||||
return false;
|
||||
var firstError = null;
|
||||
if (form.$invalid) {
|
||||
var field = null, firstError = null;
|
||||
@ -3083,6 +3083,9 @@ $scope.allcourselist ='';
|
||||
if (response.data.PendingDocListStatus == true) {
|
||||
// $scope.PendingDocNotFound = false;
|
||||
$scope.studentPendingDocumentsDetails = response.data.student_pending_doc_details;
|
||||
|
||||
console.log($scope.studentPendingDocumentsDetails);
|
||||
|
||||
} else {
|
||||
// $scope.PendingDocNotFound = true;
|
||||
}
|
||||
@ -3101,9 +3104,11 @@ $scope.allcourselist ='';
|
||||
$scope.studentEntrollPendingDocFORM = {
|
||||
submit: function (form, myModelAddPendingDocDetails, stuID) {
|
||||
|
||||
//console.log(myModelAddPendingDocDetails)
|
||||
// alert('in');
|
||||
// return false;
|
||||
// console.log(myModelAddPendingDocDetails);
|
||||
// console.log(form);
|
||||
// console.log(stuID);
|
||||
// // alert('in');
|
||||
// return false;
|
||||
var firstError = null;
|
||||
if (form.$invalid) {
|
||||
var field = null, firstError = null;
|
||||
|
||||
@ -608,12 +608,24 @@
|
||||
<select class="form-control" tabindex="3" class="cs-select cs-skin-elastic" name="course" ng-model="myModelAddPendingDocDetails.course">
|
||||
|
||||
<option value="" selected>Select Course</option>
|
||||
<option value="{{item.CourseID}}">{{p.CourseName}}-{{p.CourseCode}} ({{p.UniversityName}}) </option>
|
||||
<option value="{{p.CourseID}}">{{p.CourseName}}-{{p.CourseCode}} ({{p.UniversityName}}) </option>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="col-md-4" >
|
||||
<label for="form-field-select-2">Course</label>
|
||||
|
||||
<select class="form-control" tabindex="3" class="cs-select cs-skin-elastic" name="course" ng-model="myModelAddPendingDocDetails.course">
|
||||
|
||||
<option value="" selected>Select Course</option>
|
||||
<option ng-repeat="item in allcourselist" value="{{item.CourseID}}">{{item.CourseName}}-{{item.CourseCode}} ({{item.UniversityName}}) </option>
|
||||
|
||||
</select>
|
||||
</div> -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user