rolebased view changes
This commit is contained in:
parent
df0e395005
commit
67bdb93a58
@ -369,15 +369,15 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4" ng-class="{'has-error':Form.admittedBy.$dirty && Form.admittedBy.$invalid, 'has-success':Form.admittedBy.$valid}">
|
||||
<div ng-disabled="localUserType == 'R002' || localUserType == 'R005'">
|
||||
<div >
|
||||
<label>
|
||||
Admitted by <span class="symbol required"></span>
|
||||
</label>
|
||||
|
||||
<select class="form-control" tabindex="27" class="cs-select cs-skin-elastic" name="admittedBy" ng-model="p.AdmittedBy"
|
||||
required>
|
||||
<option value="" ng-disabled>Select Admitted By</option>
|
||||
<option ng-repeat="item in employeeList" ng-selected="item.StaffID == p.AdmittedBy" value="{{item.StaffID}}">{{item.Firstname}} {{item.Lastname}} </option>
|
||||
required ng-disabled="localUserType == 'R002' || localUserType == 'R005'">
|
||||
<option value="" >Select Admitted By</option>
|
||||
<option ng-repeat="item in employeeList" ng-selected="item.StaffID == p.AdmittedBy" value="{{item.StaffID}}">{{item.Firstname}} {{item.Lastname}} </option>
|
||||
</select>
|
||||
</div>
|
||||
<span class="error text-small block" ng-if="Form.admittedBy.$dirty && Form.admittedBy.$error.required">Admitted By is Required</span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user