course details changes done

This commit is contained in:
gandhimathi 2018-02-08 15:34:57 +05:30
parent cd8ece637e
commit 152399adc5

View File

@ -261,8 +261,33 @@
<div class="row">
<div class="col-md-12 form-group">
<label>
Subjects
</label>
<ui-select multiple ng-model="myModel.subject" tabindex="6">
<ui-select-match placeholder="Select Subject">
{{$item.SubjectName}}
</ui-select-match>
<ui-select-choices
repeat="sub in subjectDetails | filter:$select.search">
{{sub.SubjectName}}
</ui-select-choices>
</ui-select>
<input class="ng-hide" type="text" name="subject"
ng-model="myModel.subject"
>
<!--<span class="error text-small block"
ng-if="Form.subject.$dirty && Form.subject.$error.required && myModel.subject.length==0">Subject is required.</span>-->
<!--<span class="success text-small block"-->
</div>
</div>
<div class="row">
@ -280,7 +305,7 @@
</label>
<input type="text" placeholder="Enter Regular Fees Amt"
autofocus tabindex="6" class="form-control" name="regularFees" id="regularFees" ng-maxlength="8"
autofocus tabindex="7" class="form-control" name="regularFees" id="regularFees" ng-maxlength="8"
ng-model="myModelRegular.FeesAmount" ng-disabled="myModelLateral.FeesAmount!='' || myModelSemYear.programName!='' || myModelSemYear.FeesAmount!=''" ng-pattern="/^[0-9]*$/"/>
<span class="error text-small block"
@ -293,7 +318,7 @@
</label>
<input type="text" placeholder="Enter Lateral Fees Amt"
autofocus tabindex="7" class="form-control" name="lateralFees" id="lateralFees" ng-maxlength="8"
autofocus tabindex="8" class="form-control" name="lateralFees" id="lateralFees" ng-maxlength="8"
ng-model="myModelLateral.FeesAmount" ng-disabled="myModelRegular.FeesAmount!='' || myModelSemYear.programName!='' || myModelSemYear.FeesAmount!=''" ng-pattern="/^[0-9]*$/"/>
<span class="error text-small block"
@ -325,7 +350,7 @@
</label>
<input type="text" placeholder="Enter Sem/year"
tabindex="8" class="form-control" name="sem_year"
tabindex="9" class="form-control" name="sem_year"
ng-model="myModelSemYear.programName" ng-disabled="myModelLateral.FeesAmount!='' || myModelRegular.FeesAmount!=''" ng-pattern="/^[a-zA-Z0-9-./\s]*$/"/>
<!--<span class="error text-small block"
ng-if="Form.sem_year.$dirty && Form.sem_year.$error.required">Sem/Year is required</span>-->
@ -339,7 +364,7 @@
</label>
<input type="text" placeholder="Enter Fees Amount"
autofocus tabindex="9" class="form-control" name="feesAmount" id="feesAmount" ng-maxlength="8"
autofocus tabindex="10" class="form-control" name="feesAmount" id="feesAmount" ng-maxlength="8"
ng-model="myModelSemYear.FeesAmount" ng-disabled="myModelLateral.FeesAmount!='' || myModelRegular.FeesAmount!=''" ng-pattern="/^[0-9]*$/"/>
<!--<span class="error text-small block"
ng-if="Form.feesAmount.$dirty && Form.feesAmount.$invalid"
@ -398,7 +423,7 @@
</label>
<input type="text" placeholder="Enter Prov Cert Fees"
autofocus tabindex="10" class="form-control" name="provFess" id="provFess" ng-maxlength="8"
autofocus tabindex="11" class="form-control" name="provFess" id="provFess" ng-maxlength="8"
ng-model="myModel.provFess" ng-pattern="/^[0-9]*$/">
<span class="error text-small block"
ng-if="Form.provFess.$error.maxlength || Form.provFess.$error.pattern">Enter a valid amount</span>
@ -414,7 +439,7 @@
</label>
<input type="text" placeholder="Enter transfer Cert Fees"
autofocus tabindex="11" class="form-control" name="transferAmount" id="transferAmount" ng-maxlength="8"
autofocus tabindex="12" class="form-control" name="transferAmount" id="transferAmount" ng-maxlength="8"
ng-model="myModel.transferAmount" ng-pattern="/^[0-9]*$/">
<span class="error text-small block"
ng-if="Form.transferAmount.$error.maxlength || Form.transferAmount.$error.pattern">Enter a valid amount</span>
@ -429,7 +454,7 @@
</label>
<input type="text" placeholder="Enter Degree Cert Fees"
autofocus tabindex="12" class="form-control" name="degreeAmount" id="degreeAmount" ng-maxlength="8"
autofocus tabindex="13" class="form-control" name="degreeAmount" id="degreeAmount" ng-maxlength="8"
ng-model="myModel.degreeAmount" ng-pattern="/^[0-9]*$/">
<span class="error text-small block"
ng-if="Form.degreeAmount.$error.maxlength || Form.degreeAmount.$error.pattern">Enter a valid amount</span>
@ -442,7 +467,7 @@
</label>
<input type="text" placeholder="Enter Migration Cert Fees"
autofocus tabindex="13" class="form-control" name="migrationAmount" id="migrationAmount" ng-maxlength="8"
autofocus tabindex="14" class="form-control" name="migrationAmount" id="migrationAmount" ng-maxlength="8"
ng-model="myModel.migrationAmount" ng-pattern="/^[0-9]*$/">
<span class="error text-small block"
ng-if="Form.migrationAmount.$error.maxlength || Form.migrationAmount.$error.pattern">Enter a valid amount</span>
@ -457,7 +482,7 @@
</label>
<input type="text" placeholder="Enter Other Fees"
autofocus tabindex="14" class="form-control" name="otherAmount" id="otherAmount" ng-maxlength="8"
autofocus tabindex="15" class="form-control" name="otherAmount" id="otherAmount" ng-maxlength="8"
ng-model="myModel.otherAmount" ng-pattern="/^[0-9]*$/">
<span class="error text-small block"
ng-if="Form.otherAmount.$error.maxlength || Form.otherAmount.$error.pattern">Enter a valid amount</span>
@ -473,13 +498,13 @@
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ladda="ldloading1.zoom_in" tabindex="15" class="btn btn-wide btn-success" data-style="zoom-in">
<button type="submit" ladda="ldloading1.zoom_in" tabindex="16" class="btn btn-wide btn-success" data-style="zoom-in">
Add
</button>
<!-- <button type="submit" class="btn btn-success btn-o" tabindex="8">
Submit
</button>-->
<button type="reset" class="btn btn-warning btn-wide" tabindex="16" ng-click="courseForm.reset(Form);"
<button type="reset" class="btn btn-warning btn-wide" tabindex="17" ng-click="courseForm.reset(Form);"
ng-click="branchForm.reset(Form)">
Reset
</button>