student pending docs changes
This commit is contained in:
parent
4558889574
commit
ebc2dbb2c9
@ -550,7 +550,7 @@
|
|||||||
<form name="FormPendDoc" id="formPendDoc" novalidate ng-submit="studentEntrollPendingDocFORM.submit(FormPendDoc, myModelAddPendingDocDetails, p.StudentID)"
|
<form name="FormPendDoc" id="formPendDoc" novalidate ng-submit="studentEntrollPendingDocFORM.submit(FormPendDoc, myModelAddPendingDocDetails, p.StudentID)"
|
||||||
method="post">
|
method="post">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4 form-group" ng-class="{'has-error':FormPendDoc.documentDetails.$dirty && FormPendDoc.documentDetails.$invalid, 'has-success':FormPendDoc.documentDetails.$valid}">
|
<div class="col-md-4 form-group" ng-class="{'has-error':FormPendDoc.pendingDocumentTextarea.$dirty && FormPendDoc.pendingDocumentTextarea.$invalid, 'has-success':FormPendDoc.pendingDocumentTextarea.$valid}">
|
||||||
<label>
|
<label>
|
||||||
Pending Document Details <span
|
Pending Document Details <span
|
||||||
class="symbol required"></span>
|
class="symbol required"></span>
|
||||||
@ -559,20 +559,25 @@
|
|||||||
ng-model="myModelAddPendingDocDetails.documentDetails" id="pendingDocumentTextarea" maxlength="100"
|
ng-model="myModelAddPendingDocDetails.documentDetails" id="pendingDocumentTextarea" maxlength="100"
|
||||||
required/>
|
required/>
|
||||||
<span class="text-small block" style="color: rgba(128, 128, 128, 0.64)">Max 100 Characters.</span>
|
<span class="text-small block" style="color: rgba(128, 128, 128, 0.64)">Max 100 Characters.</span>
|
||||||
<span class="error text-small block" ng-if="FormPendDoc.documentDetails.$dirty && FormPendDoc.documentDetails.$invalid" ng-hide="FormPendDoc.documentDetails.$error.maxlength || FormPendDoc.documentDetails.$error.minlength || FormPendDoc.documentDetails.$error.pattern">Pending Document Details required.</span>
|
<span class="error text-small block" ng-if="FormPendDoc.pendingDocumentTextarea.$dirty && FormPendDoc.pendingDocumentTextarea.$invalid">Pending document details required.</span>
|
||||||
|
<span class="error text-small block"
|
||||||
|
ng-if="FormDoc.FormPendDoc.$error.maxlength || FormPendDoc.pendingDocumentTextarea.$error.pattern">Enter a valid document details</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 form-group" ng-class="{'has-error':FormPendDoc.documentDetails.$dirty && FormPendDoc.documentDetails.$invalid, 'has-success':FormPendDoc.documentDetails.$valid}">
|
|
||||||
<div data-ng-controller="DatepickerDemoCtrl">
|
|
||||||
|
<div class="col-md-4 form-group" ng-class="{'has-error':FormPendDoc.FormPendDate.$dirty && FormPendDoc.FormPendDate.$invalid, 'has-success':FormPendDoc.FormPendDate.$valid}">
|
||||||
|
|
||||||
|
<div data-ng-controller="DatepickerDemoCtrl">
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
Follow-up date<span
|
Follow-up date<span
|
||||||
class="symbol required"></span>
|
class="symbol required"></span>
|
||||||
</label>
|
</label>
|
||||||
<input type="text" tabindex="1" class="form-control " ng-click="startOpen =!startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelAddPendingDocDetails.documentDate"
|
<input type="text" tabindex="1" class="form-control " ng-click="startOpen =!startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelAddPendingDocDetails.documentDate" min-date="currentDate"
|
||||||
is-open="startOpen" ng-init="startOpen = false" name="date" datepicker-options="dateOptions"
|
is-open="startOpen" ng-init="startOpen = false" name="FormPendDate" datepicker-options="dateOptions"
|
||||||
placeholder="Select Date" close-text="Close" ng-change="getDateFormat(p.SessionDate,'2');"
|
placeholder="Select Date" close-text="Close" ng-change="getDateFormat(p.SessionDate,'2');"
|
||||||
required="required" ng-readonly="true" />
|
required="required" ng-readonly="true" />
|
||||||
<span class="error text-small block" ng-if="Form.date.$dirty && Form.date.$error.required">Session date is required.</span>
|
<span class="error text-small block" ng-if="FormPendDoc.FormPendDate.$dirty && FormPendDoc.FormPendDate.$error.required">Follow-up date is required.</span>
|
||||||
<!--<span class="success text-small block"-->
|
<!--<span class="success text-small block"-->
|
||||||
<!--ng-if="Form.date.$valid ">Thank You</span>-->
|
<!--ng-if="Form.date.$valid ">Thank You</span>-->
|
||||||
</div>
|
</div>
|
||||||
@ -603,7 +608,7 @@
|
|||||||
<label>
|
<label>
|
||||||
</label>
|
</label>
|
||||||
<div>
|
<div>
|
||||||
<button tooltip="Upload" type="submit" ng-disabled="disableButton" tabindex="4002" class="btn btn-xs btn-success">
|
<button tooltip="Add" type="submit" ng-disabled="disableButton" tabindex="4002" class="btn btn-xs btn-success">
|
||||||
Add
|
Add
|
||||||
</button>
|
</button>
|
||||||
<button tooltip="Reset" class="btn btn-warning btn-xs" tabindex="4003" ng-click="studentEntrollPendingDocFORM.reset(FormPendDoc)">
|
<button tooltip="Reset" class="btn btn-warning btn-xs" tabindex="4003" ng-click="studentEntrollPendingDocFORM.reset(FormPendDoc)">
|
||||||
@ -617,8 +622,9 @@
|
|||||||
<h5 ng-show="documentTrackAddDetailsLoading" style="color:#007AFF">Loading...</h5>
|
<h5 ng-show="documentTrackAddDetailsLoading" style="color:#007AFF">Loading...</h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div id="documentDetalils" ng-init="getStudentPendingEntrolDocDetails(p.StudentID)">
|
<div id="documentDetalils" ng-init="getStudentPendingEntrolDocDetails(p.StudentID)">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user