course details changes done

This commit is contained in:
gandhimathi 2018-02-26 18:39:18 +05:30
parent 5ea80400ab
commit 31d74c0892

View File

@ -23,7 +23,7 @@
</th>
<th>Specilization 2
</th>
<th>Batch
<th>Session
</th>
<th>Date of Joining
</th>
@ -37,7 +37,7 @@
<td>{{s.CourseName}}<span ng-show="s.CourseCode !=''">(<b>{{s.CourseCode}}</b>)</span></td>
<td>{{s.Specilization1}}</td>
<td>{{s.Specilization2}}</td>
<td>{{s.BatchName}}</td>
<td>{{s.SessionName}}</td>
<td>{{s.DOJ}}</td>
<td ng-click="getStudentCourseDetails(s.ID)"><i class="fa fa-edit"></i></td>
</tr>
@ -97,19 +97,19 @@
<div class="col-md-4 form-group" ng-class="{'has-error':Form.batch.$dirty && Form.batch.$invalid, 'has-success':Form.batch.$valid}">
<label>
Batch <span class="symbol required"></span>
Session <span class="symbol required"></span>
</label>
<div ng-if="courseLoading == true">
<span style="padding: auto 0; color: #007AFF; font-weight: bold;">fetching...</span>
</div>
<div ng-if="courseLoading == false">
<select class="form-control" name="batch" ng-model="stucour.BatchCode" class="cs-select cs-skin-elastic" required>
<select class="form-control" name="batch" ng-model="stucour.SessionID" class="cs-select cs-skin-elastic" required>
<option value="" disabled selected>Select Batch</option>
<option ng-repeat="items in batchData" value="{{items.BatchCode}}" ng-selected="stucour.BatchCode == items.BatchCode">{{items.BatchName}}</option>
<option value="" disabled selected>Select Session</option>
<option ng-repeat="items in batchData" value="{{items.SessionID}}" ng-selected="stucour.SessionID == items.SessionID">{{items.SessionName}}</option>
</select>
</div>
<span class="error text-small block" ng-if="Form.batch.$dirty && Form.batch.$error.required">Batch is required</span>
<span class="error text-small block" ng-if="Form.batch.$dirty && Form.batch.$error.required">Session is required</span>
</div>
</div>
@ -293,7 +293,7 @@
<div class="col-md-4 form-group" ng-class="{'has-error':FormAdd.batch.$dirty && FormAdd.batch.$invalid, 'has-success':FormAdd.batch.$valid}">
<label>
Batch <span class="symbol required"></span>
Session <span class="symbol required"></span>
</label>
<div ng-if="courseLoading == true">
<span style="padding: auto 0; color: #007AFF; font-weight: bold;">fetching...</span>
@ -301,11 +301,11 @@
<div ng-if="courseLoading == false">
<select class="form-control" tabindex="26" name="batch" ng-model="myModelCourse.batch" class="cs-select cs-skin-elastic"
required>
<option value="" disabled selected>Select Batch</option>
<option ng-repeat="item in batchData" value="{{item.BatchCode}}">{{item.BatchName}}</option>
<option value="" disabled selected>Select Session</option>
<option ng-repeat="item in batchData" value="{{item.SessionID}}">{{item.SessionName}}</option>
</select>
</div>
<span class="error text-small block" ng-if="FormAdd.batch.$dirty && FormAdd.batch.$error.required">Batch is required</span>
<span class="error text-small block" ng-if="FormAdd.batch.$dirty && FormAdd.batch.$error.required">Session is required</span>
</div>
</div>