course controller added
This commit is contained in:
parent
e8aaeafb46
commit
ceeaa20b0d
@ -19,9 +19,9 @@
|
||||
tabindex="1" class="form-control" name="branchcode"
|
||||
ng-model="p.BranchCode" ng-pattern="/^[a-zA-Z0-9.\s]*$/" readonly required/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.branchcode.$dirty && Form.branchcode.$error.required">Branch Code required</span>
|
||||
ng-if="Form.branchcode.$dirty && Form.branchcode.$error.required">Branch code is required</span>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.branchcode.$dirty && Form.branchcode.$error.pattern">Invalid Branch Code </span>
|
||||
ng-if="Form.branchcode.$dirty && Form.branchcode.$error.pattern">Invalid branch code </span>
|
||||
<!--<span class="success text-small"-->
|
||||
<!--ng-if="Form.stopname.$valid">Thank You!</span>-->
|
||||
</div>
|
||||
@ -37,9 +37,9 @@
|
||||
tabindex="2" class="form-control" name="branchname"
|
||||
ng-model="p.BranchName" ng-pattern="/^[a-zA-Z0-9.\s]*$/" required/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.branchname.$dirty && Form.branchname.$error.required">Branch Name required</span>
|
||||
ng-if="Form.branchname.$dirty && Form.branchname.$error.required">Branch name is required</span>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.branchname.$dirty && Form.branchname.$error.pattern">Invalid Branch Name </span>
|
||||
ng-if="Form.branchname.$dirty && Form.branchname.$error.pattern">Invalid branch name </span>
|
||||
<!--<span class="success text-small"-->
|
||||
<!--ng-if="Form.stopname.$valid">Thank You!</span>-->
|
||||
</div>
|
||||
@ -80,9 +80,9 @@
|
||||
ng-pattern="/^[0-9]*$/" required>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.primaryPhone.$dirty && Form.primaryPhone.$invalid"
|
||||
ng-hide="Form.primaryPhone.$error.maxlength || Form.primaryPhone.$error.minlength || Form.primaryPhone.$error.pattern">Primary phone is required.</span>
|
||||
ng-hide="Form.primaryPhone.$error.maxlength || Form.primaryPhone.$error.minlength || Form.primaryPhone.$error.pattern">Phone number is required.</span>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.primaryPhone.$error.maxlength || Form.primaryPhone.$error.minlength || Form.primaryPhone.$error.pattern">Enter a Valid Phone Number</span>
|
||||
ng-if="Form.primaryPhone.$error.maxlength || Form.primaryPhone.$error.minlength || Form.primaryPhone.$error.pattern">Enter a valid phone number</span>
|
||||
<!-- <span class="success text-small"
|
||||
ng-if="Form.primaryPhone.$valid">Thank You!</span>-->
|
||||
</div>
|
||||
@ -99,7 +99,7 @@
|
||||
ng-minlength="10" ng-maxlength="12"
|
||||
ng-pattern="/^[0-9]*$/"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.secondaryPhone.$error.maxlength || Form.secondaryPhone.$error.minlength || Form.secondaryPhone.$error.pattern">Enter a Valid Phone Number</span>
|
||||
ng-if="Form.secondaryPhone.$error.maxlength || Form.secondaryPhone.$error.minlength || Form.secondaryPhone.$error.pattern">Enter a valid phone number</span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group"
|
||||
ng-class="{'has-error':Form.Landline.$dirty && Form.Landline.$invalid, 'has-success':Form.Landline.$valid}">
|
||||
@ -113,7 +113,7 @@
|
||||
ng-minlength="11" ng-maxlength="13"
|
||||
ng-pattern="/^[0-9-]*$/"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.Landline.$error.maxlength || Form.Landline.$error.minlength || Form.Landline.$error.pattern">Enter a Valid Number</span>
|
||||
ng-if="Form.Landline.$error.maxlength || Form.Landline.$error.minlength || Form.Landline.$error.pattern">Enter a valid number</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user