course details changes done

This commit is contained in:
gandhimathi 2018-01-27 12:50:26 +05:30
parent c900bfab0e
commit 4d3fa65fee

View File

@ -182,7 +182,7 @@
<span class="error text-small block"
ng-if="Form.coursename.$dirty && Form.coursename.$error.pattern">Invalid course name </span>
<!--<span class="success text-small"-->
<!--ng-if="Form.stopname.$valid">Thank You!</span>-->
<!--ng-if="Form.coursename.$valid">Thank You!</span>-->
</div>
<!--<div class="col-md-3 form-group"
@ -281,7 +281,7 @@
<input type="text" placeholder="Enter Regular Fees Amt"
autofocus tabindex="6" class="form-control" name="regularFees" id="regularFees" ng-maxlength="8"
ng-model="myModelRegular.FeesAmount" ng-pattern="/^[0-9]*$/"/>
ng-model="myModelRegular.FeesAmount" ng-disabled="myModelLateral.FeesAmount!='' || myModelSemYear.programName!='' || myModelSemYear.FeesAmount!=''" ng-pattern="/^[0-9]*$/"/>
<span class="error text-small block"
ng-if="Form.regularFees.$error.maxlength || Form.regularFees.$error.pattern">Enter a valid amount</span>
@ -294,7 +294,7 @@
<input type="text" placeholder="Enter Lateral Fees Amt"
autofocus tabindex="7" class="form-control" name="lateralFees" id="lateralFees" ng-maxlength="8"
ng-model="myModelLateral.FeesAmount" ng-pattern="/^[0-9]*$/"/>
ng-model="myModelLateral.FeesAmount" ng-disabled="myModelRegular.FeesAmount!='' || myModelSemYear.programName!='' || myModelSemYear.FeesAmount!=''" ng-pattern="/^[0-9]*$/"/>
<span class="error text-small block"
ng-if="Form.lateralFees.$error.maxlength || Form.lateralFees.$error.pattern">Enter a valid amount</span>
@ -326,7 +326,7 @@
<input type="text" placeholder="Enter Sem/year"
tabindex="8" class="form-control" name="sem_year"
ng-model="myModelSemYear.programName" ng-pattern="/^[a-zA-Z0-9-./\s]*$/"/>
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>-->
<span class="error text-small block"
@ -340,7 +340,7 @@
<input type="text" placeholder="Enter Fees Amount"
autofocus tabindex="9" class="form-control" name="feesAmount" id="feesAmount" ng-maxlength="8"
ng-model="myModelSemYear.FeesAmount" ng-pattern="/^[0-9]*$/"/>
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"
ng-hide="Form.feesAmount.$error.maxlength || Form.feesAmount.$error.pattern">Fees amount is required</span>-->
@ -350,7 +350,7 @@
</div>
<div class="col-md-12">
<div class="pull-right">
<input type="button" class="btn btn-sm btn-info" title="Click to add one more fees items" value="Add More" ng-click="addMoreFeesItems(myModelSemYear,Form);"/>
<input type="button" class="btn btn-sm btn-info" title="Click to add one more fees items" value="Add More" ng-disabled="myModelLateral.FeesAmount!='' || myModelRegular.FeesAmount!=''" ng-click="addMoreFeesItems(myModelSemYear,Form);"/>
</div>
</div>