course details changes done
This commit is contained in:
parent
035dce701e
commit
c900bfab0e
@ -38,7 +38,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Session Name"
|
||||
tabindex="8" class="form-control" name="setsessionname"
|
||||
ng-model="setModel.feesType.SessionName" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" required ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'"/>
|
||||
ng-model="setModel.feesType.SessionName" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" required ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.setsessionname.$dirty && Form.setsessionname.$error.required">Session name is required</span>
|
||||
<span class="error text-small block"
|
||||
@ -54,7 +54,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Roll No"
|
||||
tabindex="9" class="form-control" name="setrollNo"
|
||||
ng-model="setModel.feesType.RollNo" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'"/>
|
||||
ng-model="setModel.feesType.RollNo" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.setrollNo.$dirty && Form.setrollNo.$error.required">Roll no is required</span>
|
||||
<span class="error text-small block"
|
||||
@ -89,7 +89,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter STF/WR Amount"
|
||||
autofocus tabindex="11" class="form-control" name="STF" id="STF" ng-maxlength="9"
|
||||
ng-model="setModel.feesType.STFOrWR" ng-pattern="/^[0-9]*$/" ng-change="setFeesTotalAmount(setModel.feesType);" ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'"/>
|
||||
ng-model="setModel.feesType.STFOrWR" ng-pattern="/^[0-9]*$/" ng-change="setFeesTotalAmount(setModel.feesType);" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.STF.$dirty && Form.STF.$invalid"
|
||||
ng-hide="Form.STF.$error.maxlength || Form.STF.$error.pattern">STF/WR amount is required</span>
|
||||
@ -105,7 +105,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Other Amount"
|
||||
autofocus tabindex="12" class="form-control" name="others" id="others" ng-maxlength="9"
|
||||
ng-model="setModel.feesType.Others" ng-pattern="/^[0-9]*$/" ng-change="setFeesTotalAmount(setModel.feesType);" ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'"/>
|
||||
ng-model="setModel.feesType.Others" ng-pattern="/^[0-9]*$/" ng-change="setFeesTotalAmount(setModel.feesType);" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.others.$dirty && Form.others.$invalid"
|
||||
ng-hide="Form.others.$error.maxlength || Form.others.$error.pattern">Others amount is required</span>
|
||||
@ -137,7 +137,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Waiver Amount"
|
||||
autofocus tabindex="13" class="form-control" name="waiver" id="waiver" ng-maxlength="9"
|
||||
ng-model="setModel.feesType.Waiver" ng-pattern="/^[0-9]*$/" ng-change="setFeesTotalAmount(setModel.feesType);" ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'"/>
|
||||
ng-model="setModel.feesType.Waiver" ng-pattern="/^[0-9]*$/" ng-change="setFeesTotalAmount(setModel.feesType);" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.waiver.$dirty && Form.waiver.$invalid"
|
||||
ng-hide="Form.waiver.$error.maxlength || Form.waiver.$error.pattern">Waiver amount is required</span>
|
||||
@ -187,7 +187,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Installment"
|
||||
tabindex="14" class="form-control" name="insName"
|
||||
ng-model="myModelInstallemt.name" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" required ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'"/>
|
||||
ng-model="myModelInstallemt.name" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" required ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.insName.$dirty && Form.insName.$error.required">Installment is required</span>
|
||||
<span class="error text-small block"
|
||||
@ -202,7 +202,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Amount"
|
||||
autofocus tabindex="15" class="form-control" name="instfeesAmount" id="instfeesAmount" ng-maxlength="8"
|
||||
ng-model="myModelInstallemt.amount" ng-pattern="/^[0-9]*$/" required="" ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'"/>
|
||||
ng-model="myModelInstallemt.amount" ng-pattern="/^[0-9]*$/" required="" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.instfeesAmount.$dirty && Form.instfeesAmount.$invalid"
|
||||
ng-hide="Form.instfeesAmount.$error.maxlength || Form.instfeesAmount.$error.pattern">Amount is required</span>
|
||||
@ -229,7 +229,7 @@
|
||||
placeholder="Select Date"
|
||||
|
||||
max-date="futureDate"
|
||||
close-text="Close" required="required"/>
|
||||
close-text="Close" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'" required="required"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.date.$dirty && Form.date.$error.required">Date is required.</span>
|
||||
<!--<span class="success text-small block"-->
|
||||
@ -238,7 +238,7 @@
|
||||
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="button" class="btn btn-sm btn-info" title="Click to add one more items" value="Add More" ng-click="clickMoreItems(myModelInstallemt,Form,setModel.feesType);" style="margin-top:16%;" ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'"/>
|
||||
<input type="button" class="btn btn-sm btn-info" title="Click to add one more items" value="Add More" ng-click="clickMoreItems(myModelInstallemt,Form,setModel.feesType);" style="margin-top:16%;" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" ng-repeat="n in updateMoreItems">
|
||||
@ -249,7 +249,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Installment"
|
||||
class="form-control" name="instllment{{$index}}"
|
||||
ng-model="n.Name" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'" required/>
|
||||
ng-model="n.Name" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'" required/>
|
||||
<span class="error text-small block" ng-if="n.Name==undefined">Enter a valid installment</span>
|
||||
</div>
|
||||
<div class="col-md-3 form-group" ng-class="{'has-error':n.Amount==undefined, 'has-success':n.Amount!=undefined}">
|
||||
@ -258,7 +258,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Fees Amount"
|
||||
autofocus class="form-control" name="amount{{$index}}" id="amount{{$index}}" ng-maxlength="8"
|
||||
ng-model="n.Amount" ng-pattern="/^[0-9]*$/" ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'" required/>
|
||||
ng-model="n.Amount" ng-pattern="/^[0-9]*$/" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'" required/>
|
||||
<span class="error text-small block" ng-if="n.Amount==undefined">Enter a valid amount</span>
|
||||
|
||||
</div>
|
||||
@ -292,7 +292,7 @@
|
||||
datepicker-options="dateOptions"
|
||||
placeholder="Select Date"
|
||||
max-date="futureDate"
|
||||
close-text="Close" required="required"/>
|
||||
close-text="Close" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'" required="required"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="n.DueDate==undefined">Date is required.</span>
|
||||
<!--<span class="success text-small block"-->
|
||||
@ -321,7 +321,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="pull-right">
|
||||
<button type="submit" ladda="ldloading5.zoom_in" tabindex="17" class="btn btn-wide btn-success" data-style="zoom-in" ng-click="submitFeesForStudent(user,Form,setModel.feesType,'zoom-in',myModelInstallemt)" ng-disabled="setModel.feesType.ExistValue=='1' && userType!='R004'"> <!--ng-disabled="setModel.feesType.ExistValue=='1'"-->
|
||||
<button type="submit" ladda="ldloading5.zoom_in" tabindex="17" class="btn btn-wide btn-success" data-style="zoom-in" ng-click="submitFeesForStudent(user,Form,setModel.feesType,'zoom-in',myModelInstallemt)" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'"> <!--ng-disabled="setModel.feesType.ExistValue=='1'"-->
|
||||
Save
|
||||
</button>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user