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) {
|
submit: function (form, myModelAddPendingDocDetails, stuID) {
|
||||||
|
|
||||||
|
|
||||||
// alert('in');
|
alert('in');
|
||||||
// return false;
|
return false;
|
||||||
var firstError = null;
|
var firstError = null;
|
||||||
if (form.$invalid) {
|
if (form.$invalid) {
|
||||||
var field = null, firstError = null;
|
var field = null, firstError = null;
|
||||||
@ -3083,6 +3083,9 @@ $scope.allcourselist ='';
|
|||||||
if (response.data.PendingDocListStatus == true) {
|
if (response.data.PendingDocListStatus == true) {
|
||||||
// $scope.PendingDocNotFound = false;
|
// $scope.PendingDocNotFound = false;
|
||||||
$scope.studentPendingDocumentsDetails = response.data.student_pending_doc_details;
|
$scope.studentPendingDocumentsDetails = response.data.student_pending_doc_details;
|
||||||
|
|
||||||
|
console.log($scope.studentPendingDocumentsDetails);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// $scope.PendingDocNotFound = true;
|
// $scope.PendingDocNotFound = true;
|
||||||
}
|
}
|
||||||
@ -3101,9 +3104,11 @@ $scope.allcourselist ='';
|
|||||||
$scope.studentEntrollPendingDocFORM = {
|
$scope.studentEntrollPendingDocFORM = {
|
||||||
submit: function (form, myModelAddPendingDocDetails, stuID) {
|
submit: function (form, myModelAddPendingDocDetails, stuID) {
|
||||||
|
|
||||||
//console.log(myModelAddPendingDocDetails)
|
// console.log(myModelAddPendingDocDetails);
|
||||||
// alert('in');
|
// console.log(form);
|
||||||
// return false;
|
// console.log(stuID);
|
||||||
|
// // alert('in');
|
||||||
|
// return false;
|
||||||
var firstError = null;
|
var firstError = null;
|
||||||
if (form.$invalid) {
|
if (form.$invalid) {
|
||||||
var field = null, firstError = null;
|
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">
|
<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="" 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>
|
</select>
|
||||||
</div>
|
</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