Merge remote-tracking branch 'origin/master'

This commit is contained in:
gandhimathi 2018-05-30 18:11:32 +05:30
commit 8a82d66925
8 changed files with 1041 additions and 348 deletions

View File

@ -14,6 +14,7 @@ app.controller('answerBookletStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
$scope.editId = -1;
$scope.setEditId = function (P) {
$scope.statusUpdationId = -1;
$scope.editId = P;
}
$scope.cancel = function () {
@ -197,6 +198,8 @@ app.controller('answerBookletStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
angular.forEach($scope.searchResultDetails, function (item) {
item.Selected = false;
});
$scope.editId = -1;
$scope.statusUpdationId = value.UNI_ID;
value.Selected = true;
$scope.OpenWindowStatus = true;
$scope.openUpdateWind();
@ -209,6 +212,7 @@ app.controller('answerBookletStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
angular.forEach($scope.searchResultDetails, function (item) {
item.Selected = false;
});
$scope.statusUpdationId = -1;
$scope.openUpdateWind();
}

View File

@ -15,6 +15,7 @@ app.controller('applicationStatusCtrl', ["$scope", "toaster", "$filter", "ngTabl
$scope.editId = -1;
$scope.setEditId = function (P) {
// alert(P);
$scope.statusUpdationId = -1;
$scope.editId = P;
}
$scope.cancel = function () {
@ -226,9 +227,12 @@ app.controller('applicationStatusCtrl', ["$scope", "toaster", "$filter", "ngTabl
// Select one row in a table once
$scope.setOneSelect = function (value) {
// alert();
angular.forEach($scope.searchResultDetails, function (item) {
item.Selected = false;
});
$scope.editId = -1;
$scope.statusUpdationId = value.UNI_ID;
value.Selected = true;
$scope.OpenWindowStatus = true;
$scope.openUpdateWind();
@ -239,6 +243,7 @@ app.controller('applicationStatusCtrl', ["$scope", "toaster", "$filter", "ngTabl
angular.forEach($scope.searchResultDetails, function (item) {
item.Selected = false;
});
$scope.statusUpdationId = -1;
$scope.openUpdateWind();
}

View File

@ -15,11 +15,12 @@ app.controller('certificationStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
$scope.editId = -1;
$scope.setEditId = function (P) {
// alert(P);
$scope.statusUpdationId = -1;
$scope.editId = P;
}
$scope.cancel = function () {
$scope.editId = -1;
}
}
// get local client details
@ -224,9 +225,13 @@ app.controller('certificationStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
// Select one row in a table once
$scope.setOneSelect = function (value) {
// alert();
angular.forEach($scope.searchResultDetails, function (item) {
item.Selected = false;
});
// alert( value.UNI_ID);
$scope.editId = -1;
$scope.statusUpdationId = value.UNI_ID;
value.Selected = true;
$scope.OpenWindowStatus = true;
$scope.openUpdateWind();
@ -239,6 +244,7 @@ app.controller('certificationStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
angular.forEach($scope.searchResultDetails, function (item) {
item.Selected = false;
});
$scope.statusUpdationId = -1;
$scope.openUpdateWind();
}

View File

@ -15,6 +15,7 @@ app.controller('studyMaterialStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
$scope.editId = -1;
$scope.setEditId = function (P) {
$scope.statusUpdationId = -1;
$scope.editId = P;
}
$scope.cancel = function () {
@ -199,6 +200,8 @@ app.controller('studyMaterialStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
angular.forEach($scope.searchResultDetails, function (item) {
item.Selected = false;
});
$scope.editId = -1;
$scope.statusUpdationId = value.UNI_ID;
value.Selected = true;
$scope.OpenWindowStatus = true;
$scope.openUpdateWind();
@ -212,6 +215,7 @@ app.controller('studyMaterialStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
angular.forEach($scope.searchResultDetails, function (item) {
item.Selected = false;
});
$scope.statusUpdationId = -1;
$scope.openUpdateWind();
}

View File

@ -153,7 +153,8 @@
<tr>
<td>
<label>
<input type="checkbox" ng-model="p.Selected" ng-change="setOneSelect(p)" />
<!--<input type="checkbox" ng-model="p.Selected" ng-change="setOneSelect(p)" />-->
<span> <i tooltip="STATUS UPDATE" class="ti-slice" ng-click="setOneSelect(p)" ></i> </span>
<!--{{p.StudentID}}-->
</label>
</td>
@ -210,21 +211,12 @@
</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>
<div ng-if="OpenWindowStatus">
<tr ng-show="statusUpdationId ===p.UNI_ID" ng-if="statusUpdationId === p.UNI_ID">
<td colspan="7">
<div ng-if="OpenWindowStatus">
<style>
#cancel_button {
/*line-height: 12px;
width: 18px;
font-size: 8pt;
font-family: tahoma;*/
margin-top: 1px;
margin-top: 1px;
margin-right: 2px;
position: absolute;
top: 0;
@ -286,16 +278,7 @@
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
<label>
Status <span
class="symbol required"></span>
</label>
<input type="text" name="status" tabindex="5" placeholder="Enter Status" class="form-control" ng-model="myStatusModel.staus"
required/>
<span class="error text-small block" ng-if="Form.sestatusmYear.$dirty && Form.status.$error.required">Status is Required </span>
</div>-->
<div data-ng-controller="DatepickerDemoCtrl">
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
@ -307,11 +290,7 @@
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<!--<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourseAdd.dateofjoining"
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
/>-->
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
@ -403,16 +382,7 @@
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
<label>
Status <span
class="symbol required"></span>
</label>
<input type="text" name="status" tabindex="5" placeholder="Enter Status" class="form-control" ng-model="myStatusModel.staus"
required/>
<span class="error text-small block" ng-if="Form.sestatusmYear.$dirty && Form.status.$error.required">Status is Required </span>
</div>-->
<div data-ng-controller="DatepickerDemoCtrl">
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
@ -423,12 +393,7 @@
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<!--<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourseAdd.dateofjoining"
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
/>-->
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
@ -443,20 +408,7 @@
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.branch.$dirty && Form.branch.$invalid, 'has-success':Form.branch.$valid}" >
<label for="form-field-select-2">
Select Branch <span
class="symbol required"></span>
</label>
<select class="form-control" tabindex="8" class="cs-select cs-skin-elastic" name="branch" ng-model="localBranchDetails" ng-change="changeBranch()"
required>
<option value="" disabled selected>Select Branch</option>
<option ng-repeat="bdata in branchList_data" value="{{bdata.BranchCode}}">{{bdata.BranchName}}</option>
</select>
<span class="error text-small block" ng-if="Form.branch.$dirty && Form.branch.$invalid" ng-hide="Form.branch.$error.maxlength">Branch is required.</span>
</div>-->
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="pull-right">
@ -479,6 +431,233 @@
</form></div>
</div>
</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>
<!--<div ng-if="OpenWindowStatus">
<style>
#cancel_button {
margin-top: 1px;
margin-right: 2px;
position: absolute;
top: 0;
right: 0;
}
</style>
<div ng-if="!localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel, localBranchDetails)" method="post">
<div class="container">
<div class="row">
<div class="col-md-2">
</div>
<div class="col-md-8">
<fieldset style="background-color: #eaeaea;">
<legend>
Update Status
</legend>
<div>
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
<div class="row">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.semYear.$dirty && Form.semYear.$invalid, 'has-success':Form.semYear.$valid}">
<label for="form-field-select-2">
Sem/Year <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="semYear" ng-model="myStatusModel.semYear"
ng-change="getSemYearDropShowMethod(myStatusModel.semYear)" required>
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}">{{itemSemY.Sem_Year}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>
<div class="col-md-4 form-group" ng-if="showSingleLateralSemType" ng-class="{'has-error':Form.semYearLateral.$dirty && Form.semYearLateral.$invalid, 'has-success':Form.semYearLateral.$valid}">
<label for="form-field-select-2">
Sem <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="5" class="cs-select cs-skin-elastic" name="semYearLateral" ng-model="myStatusModel.sem"
required>
<option value="" disabled selected>Select Sem</option>
<option ng-repeat="itemSemY in semDetails" value="{{itemSemY.type}}" >{{itemSemY.type}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYearLateral.$dirty && Form.semYearLateral.$error.required">Sem is Required</span>
</div>
<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<label for="form-field-select-2">
Status <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatusModel.staus"
required>
<option value="" disabled selected>Select Status</option>
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus.ListCode}}">{{itemStatus.ListName}}</option>
</select>
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
class="symbol required"></span>
</label>
<input type="text" tabindex="6" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myStatusModel.dateOn"
is-open="startOpen" ng-init="startOpen = false" name="dateofstaus"
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.description.$dirty && Form.description.$invalid}">
<label>
Comments
</label>
<textarea type="text" placeholder="Enter Comments" tabindex="7" class="form-control" name="description" ng-model="myStatusModel.comment"
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success" data-style="zoom-in">
<i class="fa fa-circle-o-notch fa-spin" ng-if="disableButton" style="font-size:14px"></i> Submit
</button>
<button type="reset" tabindex="9" class="btn btn-warning btn-wide" tabindex="9" ng-click="statusUpdate.reset(Form)">
Reset
</button>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-2">
</div>
</div>
</div>
</form></div>
<div ng-if="localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel, localBranchDetails)" method="post">
<div class="container">
<div class="row">
<div class="col-md-2">
</div>
<div class="col-md-8">
<fieldset style="background-color: #eaeaea;">
<legend>
Update Status
</legend>
<div>
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
<div class="row">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.semYear.$dirty && Form.semYear.$invalid, 'has-success':Form.semYear.$valid}">
<label for="form-field-select-2">
Sem/Year <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="semYear" ng-model="myStatusModel.semYear"
ng-change="getSemYearDropShowMethod(myStatusModel.semYear)" required>
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}">{{itemSemY.Sem_Year}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>
<div class="col-md-4 form-group" ng-if="showSingleLateralSemType" ng-class="{'has-error':Form.semYearLateral.$dirty && Form.semYearLateral.$invalid, 'has-success':Form.semYearLateral.$valid}">
<label for="form-field-select-2">
Sem <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="5" class="cs-select cs-skin-elastic" name="semYearLateral" ng-model="myStatusModel.sem"
required>
<option value="" disabled selected>Select Sem</option>
<option ng-repeat="itemSemY in semDetails" value="{{itemSemY.type}}" >{{itemSemY.type}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYearLateral.$dirty && Form.semYearLateral.$error.required">Sem is Required</span>
</div>
<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<label for="form-field-select-2">
Status <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatusModel.staus"
required>
<option value="" disabled selected>Select Status</option>
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus.ListCode}}">{{itemStatus.ListName}}</option>
</select>
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
class="symbol required"></span>
</label>
<input type="text" tabindex="6" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myStatusModel.dateOn"
is-open="startOpen" ng-init="startOpen = false" name="dateofstaus"
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.description.$dirty && Form.description.$invalid}">
<label>
Comments
</label>
<textarea type="text" placeholder="Enter Comments" tabindex="7" class="form-control" name="description" ng-model="myStatusModel.comment"
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success" data-style="zoom-in">
<i class="fa fa-circle-o-notch fa-spin" ng-if="disableButton" style="font-size:14px"></i> Submit
</button>
<button type="reset" tabindex="9" class="btn btn-warning btn-wide" tabindex="9" ng-click="statusUpdate.reset(Form)">
Reset
</button>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-2">
</div>
</div>
</div>
</form></div>
</div>-->
</div>
<!--studen search result end-->
</div>

View File

@ -153,8 +153,9 @@
<tr>
<td>
<label>
<input type="checkbox" ng-model="p.Selected" ng-click="setOneSelect(p)" />
<!--{{p.StudentID}}-->
<!--<input type="checkbox" ng-model="p.Selected" ng-click="setOneSelect(p)" />-->
<span> <i tooltip="STATUS UPDATE" class="ti-slice" ng-click="setOneSelect(p)" ></i> </span>
<!--{{p.StudentID}}-->
</label>
</td>
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Firstname}}</a></td>
@ -209,21 +210,12 @@
</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>
<div ng-if="OpenWindowStatus">
<tr ng-show="statusUpdationId ===p.UNI_ID" ng-if="statusUpdationId === p.UNI_ID">
<td colspan="7">
<div ng-if="OpenWindowStatus">
<div ng-if="!localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel , localBranchDetails)" method="post">
<style>
#cancel_button {
/*line-height: 12px;
width: 18px;
font-size: 8pt;
font-family: tahoma;*/
margin-top: 1px;
margin-right: 2px;
position: absolute;
@ -241,11 +233,7 @@
Update Status
</legend>
<div>
<!--<input id="cancel_button" type="button" value="X">-->
<!--<span id="cancel_button" class="btn btn-success btn-lg">
<i class="glyphicon glyphicon-remove-circle"></i>
</span>-->
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
@ -274,20 +262,7 @@
</div>
</div>
<div class="row">
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.semYear.$dirty && Form.semYear.$invalid, 'has-success':Form.semYear.$valid}">
<label for="form-field-select-2">
Sem/Year <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="semYear" ng-model="myStatusModel.semYear"
required>
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY.ID}}">{{itemSemY.Sem_Year}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>-->
<div class="col-md-6 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<label for="form-field-select-2">
Status <span class="symbol required"></span>
</label>
@ -300,16 +275,7 @@
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
<label>
Status <span
class="symbol required"></span>
</label>
<input type="text" name="status" tabindex="5" placeholder="Enter Status" class="form-control" ng-model="myStatusModel.staus"
required/>
<span class="error text-small block" ng-if="Form.sestatusmYear.$dirty && Form.status.$error.required">Status is Required </span>
</div>-->
<div data-ng-controller="DatepickerDemoCtrl">
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
@ -320,12 +286,7 @@
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<!--<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourseAdd.dateofjoining"
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
/>-->
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
@ -366,10 +327,6 @@
<div ng-if="localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel , localBranchDetails)" method="post">
<style>
#cancel_button {
/*line-height: 12px;
width: 18px;
font-size: 8pt;
font-family: tahoma;*/
margin-top: 1px;
margin-right: 2px;
position: absolute;
@ -387,10 +344,6 @@
Update Status
</legend>
<div>
<!--<input id="cancel_button" type="button" value="X">-->
<!--<span id="cancel_button" class="btn btn-success btn-lg">
<i class="glyphicon glyphicon-remove-circle"></i>
</span>-->
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
@ -420,19 +373,6 @@
</div>
</div>
<div class="row">
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.semYear.$dirty && Form.semYear.$invalid, 'has-success':Form.semYear.$valid}">
<label for="form-field-select-2">
Sem/Year <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="semYear" ng-model="myStatusModel.semYear"
required>
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY.ID}}">{{itemSemY.Sem_Year}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>-->
<div class="col-md-6 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<label for="form-field-select-2">
Status <span class="symbol required"></span>
@ -446,15 +386,6 @@
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
<label>
Status <span
class="symbol required"></span>
</label>
<input type="text" name="status" tabindex="5" placeholder="Enter Status" class="form-control" ng-model="myStatusModel.staus"
required/>
<span class="error text-small block" ng-if="Form.sestatusmYear.$dirty && Form.status.$error.required">Status is Required </span>
</div>-->
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
@ -467,11 +398,7 @@
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<!--<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourseAdd.dateofjoining"
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
/>-->
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
@ -486,20 +413,7 @@
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.branch.$dirty && Form.branch.$invalid, 'has-success':Form.branch.$valid}"
>
<label for="form-field-select-2">
Select Branch <span
class="symbol required"></span>
</label>
<select class="form-control" tabindex="8" class="cs-select cs-skin-elastic" name="branch" ng-model="localBranchDetails" ng-change="changeBranch()"
required>
<option value="" disabled selected>Select Branch</option>
<option ng-repeat="bdata in branchList_data" value="{{bdata.BranchCode}}">{{bdata.BranchName}}</option>
</select>
<span class="error text-small block" ng-if="Form.branch.$dirty && Form.branch.$invalid" ng-hide="Form.branch.$error.maxlength">Branch is required.</span>
</div>-->
</div>
<div class="row">
<div class="col-md-12">
@ -524,11 +438,243 @@
</form></div>
</div>
</div>
<!--studen search result end-->
</div>
</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>
<!-- end: STATUS -->
<!--<div ng-if="OpenWindowStatus">
<div ng-if="!localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel , localBranchDetails)" method="post">
<style>
#cancel_button {
margin-top: 1px;
margin-right: 2px;
position: absolute;
top: 0;
right: 0;
}
</style>
<div class="container">
<div class="row">
<div class="col-md-3">
</div>
<div class="col-md-6">
<fieldset style="background-color: #eaeaea;">
<legend>
Update Status
</legend>
<div>
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.certificatetype.$dirty && Form.certificatetype.$invalid, 'has-success':Form.certificatetype.$valid}">
<label for="form-field-select-2">
Document Type <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="certificatetype" ng-model="myStatusModel.certificatetype"
required>
<option value="" disabled selected>Select Document Type</option>
<option ng-repeat="itemCerf in certificateData" value="{{itemCerf.CertificationID}}">{{itemCerf.CertificateName}}</option>
</select>
<span class="error text-small block" ng-if="Form.certificatetype.$dirty && Form.certificatetype.$error.required">Document Type is Required</span>
</div>
<div class="col-md-6 form-group" ng-class="{'has-error':Form.certificateNumber.$dirty && Form.certificateNumber.$invalid }">
<label>
Document Number
</label>
<input type="text" name="certificateNumber" tabindex="5" placeholder="Enter Document Number" class="form-control" ng-model="myStatusModel.certificateNumber"
/>
<span class="error text-small block" ng-if="Form.certificateNumber.$dirty && Form.certificateNumber.$error.required">Document Number is Required </span>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<label for="form-field-select-2">
Status <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatusModel.staus"
required>
<option value="" disabled selected>Select Status</option>
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus.ListCode}}">{{itemStatus.ListName}}</option>
</select>
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
class="symbol required"></span>
</label>
<input type="text" tabindex="6" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myStatusModel.dateOn"
is-open="startOpen" ng-init="startOpen = false" name="dateofstaus"
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.description.$dirty && Form.description.$invalid}">
<label>
Comments
</label>
<textarea type="text" placeholder="Enter Comments" tabindex="7" class="form-control" name="description" ng-model="myStatusModel.comment"
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success"
data-style="zoom-in">
<i class="fa fa-circle-o-notch fa-spin" ng-if="disableButton" style="font-size:14px"></i> Submit
</button>
<button type="reset" tabindex="9" class="btn btn-warning btn-wide" tabindex="9" ng-click="statusUpdate.reset(Form)">
Reset
</button>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-3">
</div>
</div>
</div>
</form></div>
<div ng-if="localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel , localBranchDetails)" method="post">
<style>
#cancel_button {
margin-top: 1px;
margin-right: 2px;
position: absolute;
top: 0;
right: 0;
}
</style>
<div class="container">
<div class="row">
<div class="col-md-3">
</div>
<div class="col-md-6">
<fieldset style="background-color: #eaeaea;">
<legend>
Update Status
</legend>
<div>
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.certificatetype.$dirty && Form.certificatetype.$invalid, 'has-success':Form.certificatetype.$valid}">
<label for="form-field-select-2">
Document Type <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="certificatetype" ng-model="myStatusModel.certificatetype"
required>
<option value="" disabled selected>Select Document Type</option>
<option ng-repeat="itemCerf in certificateData" value="{{itemCerf.CertificationID}}">{{itemCerf.CertificateName}}</option>
</select>
<span class="error text-small block" ng-if="Form.certificatetype.$dirty && Form.certificatetype.$error.required">Document Type is Required</span>
</div>
<div class="col-md-6 form-group" ng-class="{'has-error':Form.certificateNumber.$dirty && Form.certificateNumber.$invalid }">
<label>
Document Number
</label>
<input type="text" name="certificateNumber" tabindex="5" placeholder="Enter Document Number" class="form-control" ng-model="myStatusModel.certificateNumber"
/>
<span class="error text-small block" ng-if="Form.certificateNumber.$dirty && Form.certificateNumber.$error.required">Document Number is Required </span>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<label for="form-field-select-2">
Status <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatusModel.staus"
required>
<option value="" disabled selected>Select Status</option>
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus.ListCode}}">{{itemStatus.ListName}}</option>
</select>
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
class="symbol required"></span>
</label>
<input type="text" tabindex="6" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myStatusModel.dateOn"
is-open="startOpen" ng-init="startOpen = false" name="dateofstaus"
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.description.$dirty && Form.description.$invalid}">
<label>
Comments
</label>
<textarea type="text" placeholder="Enter Comments" tabindex="7" class="form-control" name="description" ng-model="myStatusModel.comment"
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success"
data-style="zoom-in">
<i class="fa fa-circle-o-notch fa-spin" ng-if="disableButton" style="font-size:14px"></i> Submit
</button>
<button type="reset" tabindex="9" class="btn btn-warning btn-wide" tabindex="9" ng-click="statusUpdate.reset(Form)">
Reset
</button>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-3">
</div>
</div>
</div>
</form></div>
</div>-->
</div>
</div>
</div>
</div>
</div>

View File

@ -150,7 +150,8 @@
<tr>
<td>
<label>
<input type="checkbox" ng-model="p.Selected" ng-click="setOneSelect(p)" />
<!--<input type="checkbox" ng-model="p.Selected" ng-click="setOneSelect(p)" />-->
<span> <i tooltip="STATUS UPDATE" class="ti-slice" ng-click="setOneSelect(p)" ></i> </span>
<!--{{p.StudentID}}-->
</label>
</td>
@ -211,21 +212,12 @@
</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>
<div ng-if="OpenWindowStatus">
<tr ng-show="statusUpdationId ===p.UNI_ID" ng-if="statusUpdationId === p.UNI_ID">
<td colspan="7">
<div ng-if="OpenWindowStatus">
<style>
#cancel_button {
/*line-height: 12px;
width: 18px;
font-size: 8pt;
font-family: tahoma;*/
margin-top: 1px;
margin-top: 1px;
margin-right: 2px;
position: absolute;
top: 0;
@ -248,20 +240,7 @@
</a>
</div>
<div class="row">
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.certificatetype.$dirty && Form.certificatetype.$invalid, 'has-success':Form.certificatetype.$valid}">
<label for="form-field-select-2">
Certificate Type <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="certificatetype" ng-model="myStatusModel.certificatetype"
required>
<option value="" disabled selected>Select Certificate Type</option>
<option ng-repeat="itemCerf in certificateData" value="{{itemCerf.CertificationID}}">{{itemCerf.CertificateName}}</option>
</select>
<span class="error text-small block" ng-if="Form.certificatetype.$dirty && Form.certificatetype.$error.required">Certificate Type is Required</span>
</div>-->
<div class="col-md-4 form-group" ng-class="{'has-error':Form.semYear.$dirty && Form.semYear.$invalid, 'has-success':Form.semYear.$valid}">
<label for="form-field-select-2">
Sem/Year <span class="symbol required"></span>
@ -272,9 +251,7 @@
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
</select>
<!--<pre>{{semYearList}}</pre>
<pre>{{semYearTypeValue}}</pre>-->
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>
<div class="col-md-4 form-group" ng-if="showSingleLateralSemType" ng-class="{'has-error':Form.semYearLateral.$dirty && Form.semYearLateral.$invalid, 'has-success':Form.semYearLateral.$valid}">
@ -315,16 +292,7 @@
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
<label>
Status <span
class="symbol required"></span>
</label>
<input type="text" name="status" tabindex="5" placeholder="Enter Status" class="form-control" ng-model="myStatusModel.staus"
required/>
<span class="error text-small block" ng-if="Form.sestatusmYear.$dirty && Form.status.$error.required">Status is Required </span>
</div>-->
<div data-ng-controller="DatepickerDemoCtrl">
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
@ -336,11 +304,7 @@
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<!--<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourseAdd.dateofjoining"
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
/>-->
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
@ -393,20 +357,7 @@
</a>
</div>
<div class="row">
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.certificatetype.$dirty && Form.certificatetype.$invalid, 'has-success':Form.certificatetype.$valid}">
<label for="form-field-select-2">
Certificate Type <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="certificatetype" ng-model="myStatusModel.certificatetype"
required>
<option value="" disabled selected>Select Certificate Type</option>
<option ng-repeat="itemCerf in certificateData" value="{{itemCerf.CertificationID}}">{{itemCerf.CertificateName}}</option>
</select>
<span class="error text-small block" ng-if="Form.certificatetype.$dirty && Form.certificatetype.$error.required">Certificate Type is Required</span>
</div>-->
<div class="col-md-4 form-group" ng-class="{'has-error':Form.semYear.$dirty && Form.semYear.$invalid, 'has-success':Form.semYear.$valid}">
<label for="form-field-select-2">
Sem/Year <span class="symbol required"></span>
@ -417,9 +368,7 @@
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
</select>
<!--<pre>{{semYearList}}</pre>
<pre>{{semYearTypeValue}}</pre>-->
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>
<div class="col-md-4 form-group" ng-if="showSingleLateralSemType" ng-class="{'has-error':Form.semYearLateral.$dirty && Form.semYearLateral.$invalid, 'has-success':Form.semYearLateral.$valid}">
@ -460,16 +409,7 @@
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
<label>
Status <span
class="symbol required"></span>
</label>
<input type="text" name="status" tabindex="5" placeholder="Enter Status" class="form-control" ng-model="myStatusModel.staus"
required/>
<span class="error text-small block" ng-if="Form.sestatusmYear.$dirty && Form.status.$error.required">Status is Required </span>
</div>-->
<div data-ng-controller="DatepickerDemoCtrl">
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
@ -480,12 +420,7 @@
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<!--<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourseAdd.dateofjoining"
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
/>-->
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
@ -500,20 +435,7 @@
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.branch.$dirty && Form.branch.$invalid, 'has-success':Form.branch.$valid}"
>
<label for="form-field-select-2">
Select Branch <span
class="symbol required"></span>
</label>
<select class="form-control" tabindex="8" class="cs-select cs-skin-elastic" name="branch" ng-model="localBranchDetails" ng-change="changeBranch()"
required>
<option value="" disabled selected>Select Branch</option>
<option ng-repeat="bdata in branchList_data" value="{{bdata.BranchCode}}">{{bdata.BranchName}}</option>
</select>
<span class="error text-small block" ng-if="Form.branch.$dirty && Form.branch.$invalid" ng-hide="Form.branch.$error.maxlength">Branch is required.</span>
</div>-->
</div>
<div class="row">
<div class="col-md-12">
@ -537,11 +459,263 @@
</form></div>
</div>
</div>
<!--studen search result end-->
</div>
</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>
<!-- end: STATUS -->
<!--<div ng-if="OpenWindowStatus">
<style>
#cancel_button {
margin-top: 1px;
margin-right: 2px;
position: absolute;
top: 0;
right: 0;
}
</style>
<div ng-if="!localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel, localBranchDetails)" method="post">
<div class="container">
<div class="row">
<div class="col-md-2">
</div>
<div class="col-md-8">
<fieldset style="background-color: #eaeaea;">
<legend>
Update Status
</legend>
<div>
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
<div class="row">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.semYear.$dirty && Form.semYear.$invalid, 'has-success':Form.semYear.$valid}">
<label for="form-field-select-2">
Sem/Year <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="semYear" ng-model="myStatusModel.semYear"
ng-change="getSemYearDropShowMethod(myStatusModel.semYear)" required>
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>
<div class="col-md-4 form-group" ng-if="showSingleLateralSemType" ng-class="{'has-error':Form.semYearLateral.$dirty && Form.semYearLateral.$invalid, 'has-success':Form.semYearLateral.$valid}">
<label for="form-field-select-2">
Sem <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="5" class="cs-select cs-skin-elastic" name="semYearLateral" ng-model="myStatusModel.sem"
required>
<option value="" disabled selected>Select Sem</option>
<option ng-repeat="itemSemY in semDetails" value="{{itemSemY.type}}" >{{itemSemY.type}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYearLateral.$dirty && Form.semYearLateral.$error.required">Sem is Required</span>
</div>
<div class="col-md-6 form-group" ng-class="{'has-error':Form.certificateNumber.$dirty && Form.certificateNumber.$invalid }">
<label>
Mark Card Number
</label>
<input type="text" name="certificateNumber" tabindex="5" placeholder="Enter Mark Card Number" class="form-control" ng-model="myStatusModel.certificateNumber"
/>
<span class="error text-small block" ng-if="Form.certificateNumber.$dirty && Form.certificateNumber.$error.required">Number is Required </span>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<label for="form-field-select-2">
Status <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatusModel.staus"
required>
<option value="" disabled selected>Select Status</option>
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus.ListCode}}">{{itemStatus.ListName}}</option>
</select>
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
class="symbol required"></span>
</label>
<input type="text" tabindex="6" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myStatusModel.dateOn"
is-open="startOpen" ng-init="startOpen = false" name="dateofstaus"
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.description.$dirty && Form.description.$invalid}">
<label>
Comments
</label>
<textarea type="text" placeholder="Enter Comments" tabindex="7" class="form-control" name="description" ng-model="myStatusModel.comment"
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success" data-style="zoom-in">
<i class="fa fa-circle-o-notch fa-spin" ng-if="disableButton" style="font-size:14px"></i> Submit
</button>
<button type="reset" tabindex="9" class="btn btn-warning btn-wide" tabindex="9" ng-click="statusUpdate.reset(Form)">
Reset
</button>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-2">
</div>
</div>
</div>
</form></div>
<div ng-if="localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel, localBranchDetails)" method="post">
<div class="container">
<div class="row">
<div class="col-md-2">
</div>
<div class="col-md-8">
<fieldset style="background-color: #eaeaea;">
<legend>
Update Status
</legend>
<div>
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
<div class="row">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.semYear.$dirty && Form.semYear.$invalid, 'has-success':Form.semYear.$valid}">
<label for="form-field-select-2">
Sem/Year <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="semYear" ng-model="myStatusModel.semYear"
ng-change="getSemYearDropShowMethod(myStatusModel.semYear)" required>
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>
<div class="col-md-4 form-group" ng-if="showSingleLateralSemType" ng-class="{'has-error':Form.semYearLateral.$dirty && Form.semYearLateral.$invalid, 'has-success':Form.semYearLateral.$valid}">
<label for="form-field-select-2">
Sem <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="5" class="cs-select cs-skin-elastic" name="semYearLateral" ng-model="myStatusModel.sem"
required>
<option value="" disabled selected>Select Sem</option>
<option ng-repeat="itemSemY in semDetails" value="{{itemSemY.type}}" >{{itemSemY.type}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYearLateral.$dirty && Form.semYearLateral.$error.required">Sem is Required</span>
</div>
<div class="col-md-6 form-group" ng-class="{'has-error':Form.certificateNumber.$dirty && Form.certificateNumber.$invalid }">
<label>
Mark Card Number
</label>
<input type="text" name="certificateNumber" tabindex="5" placeholder="Enter Mark Card Number" class="form-control" ng-model="myStatusModel.certificateNumber"
/>
<span class="error text-small block" ng-if="Form.certificateNumber.$dirty && Form.certificateNumber.$error.required">Number is Required </span>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<label for="form-field-select-2">
Status <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatusModel.staus"
required>
<option value="" disabled selected>Select Status</option>
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus.ListCode}}">{{itemStatus.ListName}}</option>
</select>
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
class="symbol required"></span>
</label>
<input type="text" tabindex="6" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myStatusModel.dateOn"
is-open="startOpen" ng-init="startOpen = false" name="dateofstaus"
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
required="required" ng-change="getMaxEndDate(myModel.startDate)"
/>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.description.$dirty && Form.description.$invalid}">
<label>
Comments
</label>
<textarea type="text" placeholder="Enter Comments" tabindex="7" class="form-control" name="description" ng-model="myStatusModel.comment"
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success" data-style="zoom-in">
<i class="fa fa-circle-o-notch fa-spin" ng-if="disableButton" style="font-size:14px"></i> Submit
</button>
<button type="reset" tabindex="9" class="btn btn-warning btn-wide" tabindex="9" ng-click="statusUpdate.reset(Form)">
Reset
</button>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-2">
</div>
</div>
</div>
</form></div>
</div>-->
</div>
</div>
</div>
</div>
</div>

View File

@ -154,8 +154,8 @@
<tr>
<td>
<label>
<input type="checkbox" ng-model="p.Selected" ng-bind="values = p.StudentID" ng-change="setOneSelect(p)" />
<!--<input type="checkbox" ng-model="p.Selected" ng-bind="values = p.StudentID" ng-change="setOneSelect(p)" />-->
<span> <i tooltip="STATUS UPDATE" class="ti-slice" ng-click="setOneSelect(p)" ></i> </span>
</label>
</td>
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Firstname}}</a></td>
@ -212,14 +212,9 @@
</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>
<div ng-if="OpenWindowStatus">
<tr ng-show="statusUpdationId ===p.UNI_ID" ng-if="statusUpdationId === p.UNI_ID">
<td colspan="7">
<div ng-if="OpenWindowStatus">
<style>
#cancel_button {
/*line-height: 12px;
@ -250,11 +245,7 @@
Update Status
</legend>
<div>
<!--<input id="cancel_button" type="button" value="X">-->
<!--<span id="cancel_button" class="btn btn-success btn-lg">
<i class="glyphicon glyphicon-remove-circle"></i>
</span>-->
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
@ -269,9 +260,7 @@
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
</select>
<!--<pre>{{semYearList}}</pre>
<pre>{{semYearTypeValue}}</pre>-->
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>
<div class="col-md-4 form-group" ng-if="showSingleLateralSemType" ng-class="{'has-error':Form.semYearLateral.$dirty && Form.semYearLateral.$invalid, 'has-success':Form.semYearLateral.$valid}">
@ -291,12 +280,7 @@
<label for="form-field-select-2">
Status <span class="symbol required"></span>
</label>
<!--<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatusModel.staus"
ng-change="statusCheck(myStatusModel.staus)" required>
<option value="" disabled selected>Select Status</option>
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus.ListCode}}">{{itemStatus.ListName}}</option>
</select>-->
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatus"
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatus"
ng-change="statusCheck(myStatus)" required>
<option value="" disabled selected>Select Status</option>
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus}}">{{itemStatus.ListName}}</option>
@ -304,16 +288,7 @@
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
<label>
Status <span
class="symbol required"></span>
</label>
<input type="text" name="status" tabindex="5" placeholder="Enter Status" class="form-control" ng-model="myStatusModel.staus"
required/>
<span class="error text-small block" ng-if="Form.sestatusmYear.$dirty && Form.status.$error.required">Status is Required </span>
</div>-->
<div data-ng-controller="DatepickerDemoCtrl">
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
@ -324,12 +299,7 @@
datepicker-options="dateOptions" placeholder="Select Date "
close-text="Close" required="required" ng-change="getMaxEndDate(myModel.startDate)" max-date="maxDateForStatusUpdt"
/>
<!--<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourseAdd.dateofjoining"
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
/>-->
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
@ -347,9 +317,7 @@
</div>
<!--<pre>{{localBranchDetails}}</pre>
<pre>{{branchList_data}}</pre>-->
<div class="row">
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success"
@ -383,14 +351,10 @@
<div class="col-md-8">
<fieldset style="background-color: #eaeaea;">
<legend>
Update Status
Update Status2
</legend>
<div>
<!--<input id="cancel_button" type="button" value="X">-->
<!--<span id="cancel_button" class="btn btn-success btn-lg">
<i class="glyphicon glyphicon-remove-circle"></i>
</span>-->
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
@ -405,9 +369,7 @@
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
</select>
<!--<pre>{{semYearList}}</pre>
<pre>{{semYearTypeValue}}</pre>-->
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>
<div class="col-md-4 form-group" ng-if="showSingleLateralSemType" ng-class="{'has-error':Form.semYearLateral.$dirty && Form.semYearLateral.$invalid, 'has-success':Form.semYearLateral.$valid}">
@ -436,16 +398,7 @@
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
<label>
Status <span
class="symbol required"></span>
</label>
<input type="text" name="status" tabindex="5" placeholder="Enter Status" class="form-control" ng-model="myStatusModel.staus"
required/>
<span class="error text-small block" ng-if="Form.sestatusmYear.$dirty && Form.status.$error.required">Status is Required </span>
</div>-->
<div data-ng-controller="DatepickerDemoCtrl">
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
@ -456,12 +409,7 @@
datepicker-options="dateOptions" placeholder="Select Date "
close-text="Close" required="required" ng-change="getMaxEndDate(myModel.startDate)" max-date="maxDateForStatusUpdt"
/>
<!--<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourseAdd.dateofjoining"
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
/>-->
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
@ -476,23 +424,8 @@
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.branch.$dirty && Form.branch.$invalid, 'has-success':Form.branch.$valid}">
<label for="form-field-select-2">
Select Branch <span
class="symbol required"></span>
</label>
<select class="form-control" tabindex="8" class="cs-select cs-skin-elastic" name="branch" ng-model="localBranchDetails" required>
<option value="" disabled selected>Select Branch</option>
<option ng-repeat="bdata in branchList_data" value="{{bdata.BranchCode}}">{{bdata.BranchName}}</option>
</select>
<span class="error text-small block" ng-if="Form.branch.$dirty && Form.branch.$invalid" ng-hide="Form.branch.$error.maxlength">Branch is required.</span>
</div>-->
</div>
<!--<pre>{{localBranchDetails}}</pre>
<pre>{{branchList_data}}</pre>-->
<div class="row">
</div>
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success"
@ -518,11 +451,253 @@
</div>
</div>
</div>
<!--studen search result end-->
</div>
</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>
<!-- end: STATUS -->
<!--<div ng-if="OpenWindowStatus">
<style>
#cancel_button {
margin-top: 1px;
margin-right: 2px;
position: absolute;
top: 0;
right: 0;
}
.target>div:target {
display: block;
}
</style>
<div ng-if="!localTypeSuperAdmin">
<form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel, localBranchDetails)" method="post">
<div id="bottom1" class="container">
<div class="row">
<div class="col-md-2">
</div>
<div class="col-md-8">
<fieldset style="background-color: #eaeaea;">
<legend>
Update Status1
</legend>
<div>
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
<div class="row">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.semYear.$dirty && Form.semYear.$invalid, 'has-success':Form.semYear.$valid}">
<label for="form-field-select-2">
Sem/Year <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="semYear" ng-model="myStatusModel.semYear"
ng-change="getSemYearDropShowMethod(myStatusModel.semYear)" required>
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>
<div class="col-md-4 form-group" ng-if="showSingleLateralSemType" ng-class="{'has-error':Form.semYearLateral.$dirty && Form.semYearLateral.$invalid, 'has-success':Form.semYearLateral.$valid}">
<label for="form-field-select-2">
Sem <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="5" class="cs-select cs-skin-elastic" name="semYearLateral" ng-model="myStatusModel.sem"
required>
<option value="" disabled selected>Select Sem</option>
<option ng-repeat="itemSemY in semDetails" value="{{itemSemY.type}}" >{{itemSemY.type}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYearLateral.$dirty && Form.semYearLateral.$error.required">Sem is Required</span>
</div>
<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<label for="form-field-select-2">
Status <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatus"
ng-change="statusCheck(myStatus)" required>
<option value="" disabled selected>Select Status</option>
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus}}">{{itemStatus.ListName}}</option>
</select>
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
class="symbol required"></span>
</label>
<input type="text" tabindex="6" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myStatusModel.dateOn"
is-open="startOpen" ng-init="startOpen = false" name="dateofstaus"
datepicker-options="dateOptions" placeholder="Select Date "
close-text="Close" required="required" ng-change="getMaxEndDate(myModel.startDate)" max-date="maxDateForStatusUpdt"
/>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.description.$dirty && Form.description.$invalid}">
<label>
Comments
</label>
<textarea type="text" placeholder="Enter Comments" tabindex="7" class="form-control" name="description" ng-model="myStatusModel.comment"
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success"
data-style="zoom-in">
<i class="fa fa-circle-o-notch fa-spin" ng-if="disableButton" style="font-size:14px"></i>
Submit
</button>
<button type="reset" tabindex="9" class="btn btn-warning btn-wide" tabindex="9" ng-click="statusUpdate.reset(Form)">
Reset
</button>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-2">
</div>
</div>
</div>
</form>
</div>
<div ng-if="localTypeSuperAdmin">
<form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel, localBranchDetails)" method="post">
<div id="bottom1" class="container">
<div class="row">
<div class="col-md-2">
</div>
<div class="col-md-8">
<fieldset style="background-color: #eaeaea;">
<legend>
Update Status2
</legend>
<div>
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
<span class="glyphicon glyphicon-remove-circle"></span>
</a>
</div>
<div class="row">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.semYear.$dirty && Form.semYear.$invalid, 'has-success':Form.semYear.$valid}">
<label for="form-field-select-2">
Sem/Year <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="semYear" ng-model="myStatusModel.semYear"
ng-change="getSemYearDropShowMethod(myStatusModel.semYear)" required>
<option value="" disabled selected>Select Sem/Year</option>
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
</div>
<div class="col-md-4 form-group" ng-if="showSingleLateralSemType" ng-class="{'has-error':Form.semYearLateral.$dirty && Form.semYearLateral.$invalid, 'has-success':Form.semYearLateral.$valid}">
<label for="form-field-select-2">
Sem <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="5" class="cs-select cs-skin-elastic" name="semYearLateral" ng-model="myStatusModel.sem"
required>
<option value="" disabled selected>Select Sem</option>
<option ng-repeat="itemSemY in semDetails" value="{{itemSemY.type}}" >{{itemSemY.type}}</option>
</select>
<span class="error text-small block" ng-if="Form.semYearLateral.$dirty && Form.semYearLateral.$error.required">Sem is Required</span>
</div>
<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
<label for="form-field-select-2">
Status <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatus"
ng-change="statusCheck(myStatus)" required>
<option value="" disabled selected>Select Status</option>
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus}}">{{itemStatus.ListName}}</option>
</select>
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
</div>
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
<label>
Date <span
class="symbol required"></span>
</label>
<input type="text" tabindex="6" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myStatusModel.dateOn"
is-open="startOpen" ng-init="startOpen = false" name="dateofstaus"
datepicker-options="dateOptions" placeholder="Select Date "
close-text="Close" required="required" ng-change="getMaxEndDate(myModel.startDate)" max-date="maxDateForStatusUpdt"
/>
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.description.$dirty && Form.description.$invalid}">
<label>
Comments
</label>
<textarea type="text" placeholder="Enter Comments" tabindex="7" class="form-control" name="description" ng-model="myStatusModel.comment"
/>
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success"
data-style="zoom-in">
<i class="fa fa-circle-o-notch fa-spin" ng-if="disableButton" style="font-size:14px"></i>
Submit
</button>
<button type="reset" tabindex="9" class="btn btn-warning btn-wide" tabindex="9" ng-click="statusUpdate.reset(Form)">
Reset
</button>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-2">
</div>
</div>
</div>
</form>
</div>
</div>-->
</div>
</div>
</div>
</div>
</div>