status updation changes : (30-05-2018)kdk
This commit is contained in:
parent
8a250d233d
commit
abf3445ce7
@ -14,6 +14,7 @@ app.controller('answerBookletStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
|||||||
|
|
||||||
$scope.editId = -1;
|
$scope.editId = -1;
|
||||||
$scope.setEditId = function (P) {
|
$scope.setEditId = function (P) {
|
||||||
|
$scope.statusUpdationId = -1;
|
||||||
$scope.editId = P;
|
$scope.editId = P;
|
||||||
}
|
}
|
||||||
$scope.cancel = function () {
|
$scope.cancel = function () {
|
||||||
@ -197,6 +198,8 @@ app.controller('answerBookletStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
|||||||
angular.forEach($scope.searchResultDetails, function (item) {
|
angular.forEach($scope.searchResultDetails, function (item) {
|
||||||
item.Selected = false;
|
item.Selected = false;
|
||||||
});
|
});
|
||||||
|
$scope.editId = -1;
|
||||||
|
$scope.statusUpdationId = value.UNI_ID;
|
||||||
value.Selected = true;
|
value.Selected = true;
|
||||||
$scope.OpenWindowStatus = true;
|
$scope.OpenWindowStatus = true;
|
||||||
$scope.openUpdateWind();
|
$scope.openUpdateWind();
|
||||||
@ -209,6 +212,7 @@ app.controller('answerBookletStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
|||||||
angular.forEach($scope.searchResultDetails, function (item) {
|
angular.forEach($scope.searchResultDetails, function (item) {
|
||||||
item.Selected = false;
|
item.Selected = false;
|
||||||
});
|
});
|
||||||
|
$scope.statusUpdationId = -1;
|
||||||
$scope.openUpdateWind();
|
$scope.openUpdateWind();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -15,6 +15,7 @@ app.controller('applicationStatusCtrl', ["$scope", "toaster", "$filter", "ngTabl
|
|||||||
$scope.editId = -1;
|
$scope.editId = -1;
|
||||||
$scope.setEditId = function (P) {
|
$scope.setEditId = function (P) {
|
||||||
// alert(P);
|
// alert(P);
|
||||||
|
$scope.statusUpdationId = -1;
|
||||||
$scope.editId = P;
|
$scope.editId = P;
|
||||||
}
|
}
|
||||||
$scope.cancel = function () {
|
$scope.cancel = function () {
|
||||||
@ -226,9 +227,12 @@ app.controller('applicationStatusCtrl', ["$scope", "toaster", "$filter", "ngTabl
|
|||||||
|
|
||||||
// Select one row in a table once
|
// Select one row in a table once
|
||||||
$scope.setOneSelect = function (value) {
|
$scope.setOneSelect = function (value) {
|
||||||
|
// alert();
|
||||||
angular.forEach($scope.searchResultDetails, function (item) {
|
angular.forEach($scope.searchResultDetails, function (item) {
|
||||||
item.Selected = false;
|
item.Selected = false;
|
||||||
});
|
});
|
||||||
|
$scope.editId = -1;
|
||||||
|
$scope.statusUpdationId = value.UNI_ID;
|
||||||
value.Selected = true;
|
value.Selected = true;
|
||||||
$scope.OpenWindowStatus = true;
|
$scope.OpenWindowStatus = true;
|
||||||
$scope.openUpdateWind();
|
$scope.openUpdateWind();
|
||||||
@ -239,6 +243,7 @@ app.controller('applicationStatusCtrl', ["$scope", "toaster", "$filter", "ngTabl
|
|||||||
angular.forEach($scope.searchResultDetails, function (item) {
|
angular.forEach($scope.searchResultDetails, function (item) {
|
||||||
item.Selected = false;
|
item.Selected = false;
|
||||||
});
|
});
|
||||||
|
$scope.statusUpdationId = -1;
|
||||||
$scope.openUpdateWind();
|
$scope.openUpdateWind();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -15,11 +15,12 @@ app.controller('certificationStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
|||||||
$scope.editId = -1;
|
$scope.editId = -1;
|
||||||
$scope.setEditId = function (P) {
|
$scope.setEditId = function (P) {
|
||||||
// alert(P);
|
// alert(P);
|
||||||
|
$scope.statusUpdationId = -1;
|
||||||
$scope.editId = P;
|
$scope.editId = P;
|
||||||
}
|
}
|
||||||
$scope.cancel = function () {
|
$scope.cancel = function () {
|
||||||
$scope.editId = -1;
|
$scope.editId = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// get local client details
|
// get local client details
|
||||||
@ -224,9 +225,13 @@ app.controller('certificationStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
|||||||
|
|
||||||
// Select one row in a table once
|
// Select one row in a table once
|
||||||
$scope.setOneSelect = function (value) {
|
$scope.setOneSelect = function (value) {
|
||||||
|
// alert();
|
||||||
angular.forEach($scope.searchResultDetails, function (item) {
|
angular.forEach($scope.searchResultDetails, function (item) {
|
||||||
item.Selected = false;
|
item.Selected = false;
|
||||||
});
|
});
|
||||||
|
// alert( value.UNI_ID);
|
||||||
|
$scope.editId = -1;
|
||||||
|
$scope.statusUpdationId = value.UNI_ID;
|
||||||
value.Selected = true;
|
value.Selected = true;
|
||||||
$scope.OpenWindowStatus = true;
|
$scope.OpenWindowStatus = true;
|
||||||
$scope.openUpdateWind();
|
$scope.openUpdateWind();
|
||||||
@ -239,6 +244,7 @@ app.controller('certificationStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
|||||||
angular.forEach($scope.searchResultDetails, function (item) {
|
angular.forEach($scope.searchResultDetails, function (item) {
|
||||||
item.Selected = false;
|
item.Selected = false;
|
||||||
});
|
});
|
||||||
|
$scope.statusUpdationId = -1;
|
||||||
$scope.openUpdateWind();
|
$scope.openUpdateWind();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -15,6 +15,7 @@ app.controller('studyMaterialStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
|||||||
|
|
||||||
$scope.editId = -1;
|
$scope.editId = -1;
|
||||||
$scope.setEditId = function (P) {
|
$scope.setEditId = function (P) {
|
||||||
|
$scope.statusUpdationId = -1;
|
||||||
$scope.editId = P;
|
$scope.editId = P;
|
||||||
}
|
}
|
||||||
$scope.cancel = function () {
|
$scope.cancel = function () {
|
||||||
@ -199,6 +200,8 @@ app.controller('studyMaterialStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
|||||||
angular.forEach($scope.searchResultDetails, function (item) {
|
angular.forEach($scope.searchResultDetails, function (item) {
|
||||||
item.Selected = false;
|
item.Selected = false;
|
||||||
});
|
});
|
||||||
|
$scope.editId = -1;
|
||||||
|
$scope.statusUpdationId = value.UNI_ID;
|
||||||
value.Selected = true;
|
value.Selected = true;
|
||||||
$scope.OpenWindowStatus = true;
|
$scope.OpenWindowStatus = true;
|
||||||
$scope.openUpdateWind();
|
$scope.openUpdateWind();
|
||||||
@ -212,6 +215,7 @@ app.controller('studyMaterialStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
|||||||
angular.forEach($scope.searchResultDetails, function (item) {
|
angular.forEach($scope.searchResultDetails, function (item) {
|
||||||
item.Selected = false;
|
item.Selected = false;
|
||||||
});
|
});
|
||||||
|
$scope.statusUpdationId = -1;
|
||||||
$scope.openUpdateWind();
|
$scope.openUpdateWind();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -153,7 +153,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<label>
|
<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}}-->
|
<!--{{p.StudentID}}-->
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
@ -210,21 +211,12 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
<tr ng-show="statusUpdationId ===p.UNI_ID" ng-if="statusUpdationId === p.UNI_ID">
|
||||||
</table>
|
<td colspan="7">
|
||||||
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
|
<div ng-if="OpenWindowStatus">
|
||||||
</dir-pagination-controls>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div ng-if="OpenWindowStatus">
|
|
||||||
<style>
|
<style>
|
||||||
#cancel_button {
|
#cancel_button {
|
||||||
/*line-height: 12px;
|
margin-top: 1px;
|
||||||
width: 18px;
|
|
||||||
font-size: 8pt;
|
|
||||||
font-family: tahoma;*/
|
|
||||||
margin-top: 1px;
|
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
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>
|
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
|
<div data-ng-controller="DatepickerDemoCtrl">
|
||||||
<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-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
||||||
<label>
|
<label>
|
||||||
Date <span
|
Date <span
|
||||||
@ -307,11 +290,7 @@
|
|||||||
required="required" ng-change="getMaxEndDate(myModel.startDate)"
|
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"
|
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
|
||||||
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.$error.maxlength">Enter a Valid Date</span>
|
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
|
<div data-ng-controller="DatepickerDemoCtrl">
|
||||||
<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-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
||||||
<label>
|
<label>
|
||||||
Date <span
|
Date <span
|
||||||
@ -423,12 +393,7 @@
|
|||||||
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
|
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
|
||||||
required="required" ng-change="getMaxEndDate(myModel.startDate)"
|
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>
|
||||||
<!--<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.$error.maxlength">Enter a Valid Date</span>
|
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -443,20 +408,7 @@
|
|||||||
/>
|
/>
|
||||||
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.branch.$dirty && Form.branch.$invalid, 'has-success':Form.branch.$valid}" >
|
</div>
|
||||||
<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="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
@ -479,6 +431,233 @@
|
|||||||
</form></div>
|
</form></div>
|
||||||
|
|
||||||
</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>
|
</div>
|
||||||
<!--studen search result end-->
|
<!--studen search result end-->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -153,8 +153,9 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" ng-model="p.Selected" ng-click="setOneSelect(p)" />
|
<!--<input type="checkbox" ng-model="p.Selected" ng-click="setOneSelect(p)" />-->
|
||||||
<!--{{p.StudentID}}-->
|
<span> <i tooltip="STATUS UPDATE" class="ti-slice" ng-click="setOneSelect(p)" ></i> </span>
|
||||||
|
<!--{{p.StudentID}}-->
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Firstname}}</a></td>
|
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Firstname}}</a></td>
|
||||||
@ -209,21 +210,12 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
<tr ng-show="statusUpdationId ===p.UNI_ID" ng-if="statusUpdationId === p.UNI_ID">
|
||||||
</table>
|
<td colspan="7">
|
||||||
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
|
<div ng-if="OpenWindowStatus">
|
||||||
</dir-pagination-controls>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div ng-if="OpenWindowStatus">
|
|
||||||
<div ng-if="!localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel , localBranchDetails)" method="post">
|
<div ng-if="!localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel , localBranchDetails)" method="post">
|
||||||
<style>
|
<style>
|
||||||
#cancel_button {
|
#cancel_button {
|
||||||
/*line-height: 12px;
|
|
||||||
width: 18px;
|
|
||||||
font-size: 8pt;
|
|
||||||
font-family: tahoma;*/
|
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -241,11 +233,7 @@
|
|||||||
Update Status
|
Update Status
|
||||||
</legend>
|
</legend>
|
||||||
<div>
|
<div>
|
||||||
<!--<input id="cancel_button" type="button" value="X">-->
|
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
|
||||||
<!--<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>
|
<span class="glyphicon glyphicon-remove-circle"></span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -274,20 +262,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<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}">
|
<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">
|
|
||||||
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">
|
<label for="form-field-select-2">
|
||||||
Status <span class="symbol required"></span>
|
Status <span class="symbol required"></span>
|
||||||
</label>
|
</label>
|
||||||
@ -300,16 +275,7 @@
|
|||||||
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
|
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
|
<div data-ng-controller="DatepickerDemoCtrl">
|
||||||
<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}">
|
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
||||||
<label>
|
<label>
|
||||||
Date <span
|
Date <span
|
||||||
@ -320,12 +286,7 @@
|
|||||||
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
|
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
|
||||||
required="required" ng-change="getMaxEndDate(myModel.startDate)"
|
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>
|
||||||
<!--<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.$error.maxlength">Enter a Valid Date</span>
|
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
|
||||||
</div>
|
</div>
|
||||||
</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">
|
<div ng-if="localTypeSuperAdmin"><form name="Form" id="form" novalidate ng-submit="statusUpdate.submit(Form, myStatusModel , localBranchDetails)" method="post">
|
||||||
<style>
|
<style>
|
||||||
#cancel_button {
|
#cancel_button {
|
||||||
/*line-height: 12px;
|
|
||||||
width: 18px;
|
|
||||||
font-size: 8pt;
|
|
||||||
font-family: tahoma;*/
|
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -387,10 +344,6 @@
|
|||||||
Update Status
|
Update Status
|
||||||
</legend>
|
</legend>
|
||||||
<div>
|
<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>
|
<span class="glyphicon glyphicon-remove-circle"></span>
|
||||||
</a>
|
</a>
|
||||||
@ -420,19 +373,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<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">
|
<label for="form-field-select-2">
|
||||||
Status <span class="symbol required"></span>
|
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>
|
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
|
||||||
|
|
||||||
</div>
|
</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}">
|
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
||||||
<label>
|
<label>
|
||||||
@ -467,11 +398,7 @@
|
|||||||
required="required" ng-change="getMaxEndDate(myModel.startDate)"
|
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"
|
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
|
||||||
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.$error.maxlength">Enter a Valid Date</span>
|
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -486,20 +413,7 @@
|
|||||||
/>
|
/>
|
||||||
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
||||||
</div>
|
</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="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
@ -524,11 +438,243 @@
|
|||||||
</form></div>
|
</form></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</td>
|
||||||
<!--studen search result end-->
|
</tr>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -150,7 +150,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<label>
|
<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}}-->
|
<!--{{p.StudentID}}-->
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
@ -211,21 +212,12 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
<tr ng-show="statusUpdationId ===p.UNI_ID" ng-if="statusUpdationId === p.UNI_ID">
|
||||||
</table>
|
<td colspan="7">
|
||||||
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
|
<div ng-if="OpenWindowStatus">
|
||||||
</dir-pagination-controls>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div ng-if="OpenWindowStatus">
|
|
||||||
<style>
|
<style>
|
||||||
#cancel_button {
|
#cancel_button {
|
||||||
/*line-height: 12px;
|
margin-top: 1px;
|
||||||
width: 18px;
|
|
||||||
font-size: 8pt;
|
|
||||||
font-family: tahoma;*/
|
|
||||||
margin-top: 1px;
|
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -248,20 +240,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<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}">
|
<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">
|
<label for="form-field-select-2">
|
||||||
Sem/Year <span class="symbol required"></span>
|
Sem/Year <span class="symbol required"></span>
|
||||||
@ -272,9 +251,7 @@
|
|||||||
<option value="" disabled selected>Select Sem/Year</option>
|
<option value="" disabled selected>Select Sem/Year</option>
|
||||||
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
|
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
|
||||||
</select>
|
</select>
|
||||||
<!--<pre>{{semYearList}}</pre>
|
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
|
||||||
<pre>{{semYearTypeValue}}</pre>-->
|
|
||||||
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
|
|
||||||
|
|
||||||
</div>
|
</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}">
|
<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>
|
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
|
<div data-ng-controller="DatepickerDemoCtrl">
|
||||||
<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}">
|
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
||||||
<label>
|
<label>
|
||||||
Date <span
|
Date <span
|
||||||
@ -336,11 +304,7 @@
|
|||||||
required="required" ng-change="getMaxEndDate(myModel.startDate)"
|
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"
|
<span class="error text-small block" ng-if="Form.dateofstaus.$dirty && Form.dateofstaus.$invalid" ng-hide="Form.dateofstaus.$error.maxlength">Date is required.</span>
|
||||||
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.$error.maxlength">Enter a Valid Date</span>
|
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -393,20 +357,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<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}">
|
<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">
|
<label for="form-field-select-2">
|
||||||
Sem/Year <span class="symbol required"></span>
|
Sem/Year <span class="symbol required"></span>
|
||||||
@ -417,9 +368,7 @@
|
|||||||
<option value="" disabled selected>Select Sem/Year</option>
|
<option value="" disabled selected>Select Sem/Year</option>
|
||||||
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
|
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
|
||||||
</select>
|
</select>
|
||||||
<!--<pre>{{semYearList}}</pre>
|
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
|
||||||
<pre>{{semYearTypeValue}}</pre>-->
|
|
||||||
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
|
|
||||||
|
|
||||||
</div>
|
</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}">
|
<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>
|
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
|
<div data-ng-controller="DatepickerDemoCtrl">
|
||||||
<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}">
|
<div class="col-md-6 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
||||||
<label>
|
<label>
|
||||||
Date <span
|
Date <span
|
||||||
@ -480,12 +420,7 @@
|
|||||||
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
|
datepicker-options="dateOptions" placeholder="Select Date " close-text="Close"
|
||||||
required="required" ng-change="getMaxEndDate(myModel.startDate)"
|
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>
|
||||||
<!--<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.$error.maxlength">Enter a Valid Date</span>
|
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -500,20 +435,7 @@
|
|||||||
/>
|
/>
|
||||||
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
||||||
</div>
|
</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="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
@ -537,11 +459,263 @@
|
|||||||
</form></div>
|
</form></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</td>
|
||||||
<!--studen search result end-->
|
|
||||||
</div>
|
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -154,8 +154,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<label>
|
<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>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Firstname}}</a></td>
|
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Firstname}}</a></td>
|
||||||
@ -212,14 +212,9 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
<tr ng-show="statusUpdationId ===p.UNI_ID" ng-if="statusUpdationId === p.UNI_ID">
|
||||||
</table>
|
<td colspan="7">
|
||||||
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
|
<div ng-if="OpenWindowStatus">
|
||||||
</dir-pagination-controls>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div ng-if="OpenWindowStatus">
|
|
||||||
<style>
|
<style>
|
||||||
#cancel_button {
|
#cancel_button {
|
||||||
/*line-height: 12px;
|
/*line-height: 12px;
|
||||||
@ -250,11 +245,7 @@
|
|||||||
Update Status
|
Update Status
|
||||||
</legend>
|
</legend>
|
||||||
<div>
|
<div>
|
||||||
<!--<input id="cancel_button" type="button" value="X">-->
|
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
|
||||||
<!--<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>
|
<span class="glyphicon glyphicon-remove-circle"></span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -269,9 +260,7 @@
|
|||||||
<option value="" disabled selected>Select Sem/Year</option>
|
<option value="" disabled selected>Select Sem/Year</option>
|
||||||
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
|
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
|
||||||
</select>
|
</select>
|
||||||
<!--<pre>{{semYearList}}</pre>
|
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
|
||||||
<pre>{{semYearTypeValue}}</pre>-->
|
|
||||||
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
|
|
||||||
|
|
||||||
</div>
|
</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}">
|
<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">
|
<label for="form-field-select-2">
|
||||||
Status <span class="symbol required"></span>
|
Status <span class="symbol required"></span>
|
||||||
</label>
|
</label>
|
||||||
<!--<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatusModel.staus"
|
<select class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="status" ng-model="myStatus"
|
||||||
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"
|
|
||||||
ng-change="statusCheck(myStatus)" required>
|
ng-change="statusCheck(myStatus)" required>
|
||||||
<option value="" disabled selected>Select Status</option>
|
<option value="" disabled selected>Select Status</option>
|
||||||
<option ng-repeat="itemStatus in statusDetailsList" value="{{itemStatus}}">{{itemStatus.ListName}}</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>
|
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
|
<div data-ng-controller="DatepickerDemoCtrl">
|
||||||
<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-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
||||||
<label>
|
<label>
|
||||||
Date <span
|
Date <span
|
||||||
@ -324,12 +299,7 @@
|
|||||||
datepicker-options="dateOptions" placeholder="Select Date "
|
datepicker-options="dateOptions" placeholder="Select Date "
|
||||||
close-text="Close" required="required" ng-change="getMaxEndDate(myModel.startDate)" max-date="maxDateForStatusUpdt"
|
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>
|
||||||
<!--<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.$error.maxlength">Enter a Valid Date</span>
|
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -347,9 +317,7 @@
|
|||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--<pre>{{localBranchDetails}}</pre>
|
<div class="row">
|
||||||
<pre>{{branchList_data}}</pre>-->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success"
|
<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">
|
<div class="col-md-8">
|
||||||
<fieldset style="background-color: #eaeaea;">
|
<fieldset style="background-color: #eaeaea;">
|
||||||
<legend>
|
<legend>
|
||||||
Update Status
|
Update Status2
|
||||||
</legend>
|
</legend>
|
||||||
<div>
|
<div>
|
||||||
<!--<input id="cancel_button" type="button" value="X">-->
|
<a id="cancel_button" ng-click="unSelect()" tooltip="Close">
|
||||||
<!--<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>
|
<span class="glyphicon glyphicon-remove-circle"></span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -405,9 +369,7 @@
|
|||||||
<option value="" disabled selected>Select Sem/Year</option>
|
<option value="" disabled selected>Select Sem/Year</option>
|
||||||
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
|
<option ng-repeat="itemSemY in semYearList" value="{{itemSemY}}" >{{itemSemY.Sem_Year}}</option>
|
||||||
</select>
|
</select>
|
||||||
<!--<pre>{{semYearList}}</pre>
|
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
|
||||||
<pre>{{semYearTypeValue}}</pre>-->
|
|
||||||
<span class="error text-small block" ng-if="Form.semYear.$dirty && Form.semYear.$error.required">Sem/Year is Required</span>
|
|
||||||
|
|
||||||
</div>
|
</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}">
|
<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>
|
<span class="error text-small block" ng-if="Form.status.$dirty && Form.status.$error.required">Status is Required</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="col-md-4 form-group" ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid , 'has-success':Form.status.$valid}">
|
<div data-ng-controller="DatepickerDemoCtrl">
|
||||||
<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-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofstaus.$dirty && Form.dateofstaus.$invalid, 'has-success':Form.dateofstaus.$valid}">
|
||||||
<label>
|
<label>
|
||||||
Date <span
|
Date <span
|
||||||
@ -456,12 +409,7 @@
|
|||||||
datepicker-options="dateOptions" placeholder="Select Date "
|
datepicker-options="dateOptions" placeholder="Select Date "
|
||||||
close-text="Close" required="required" ng-change="getMaxEndDate(myModel.startDate)" max-date="maxDateForStatusUpdt"
|
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>
|
||||||
<!--<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.$error.maxlength">Enter a Valid Date</span>
|
<span class="error text-small block" ng-if="Form.dateofstaus.$error.maxlength">Enter a Valid Date</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -476,23 +424,8 @@
|
|||||||
/>
|
/>
|
||||||
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="col-md-6 form-group" ng-class="{'has-error':Form.branch.$dirty && Form.branch.$invalid, 'has-success':Form.branch.$valid}">
|
</div>
|
||||||
<label for="form-field-select-2">
|
<div class="row">
|
||||||
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 class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<button type="submit" ng-disabled="disableButton" tabindex="8" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success"
|
<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>
|
</div>
|
||||||
</div>
|
</td>
|
||||||
<!--studen search result end-->
|
</tr>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user